{
  "resourceType": "StructureDefinition",
  "id": "e9726f65-466a-4533-a932-8146da16cd54",
  "meta": {
    "lastUpdated": "2019-03-16T23:53:51.7046197+00:00"
  },
  "url": "http://ehealthbc.ca/API/FHIR/StructureDefinition/ca-bc-QuestionnaireResponse",
  "name": "ca-bc-CD-profile-QuestionnaireResponse",
  "status": "draft",
  "date": "2019-03-16T23:53:48.7688563+00:00",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "QuestionnaireResponse",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
  "derivation": "constraint",
  "snapshot": {
    "element": [
      {
        "id": "QuestionnaireResponse",
        "path": "QuestionnaireResponse",
        "short": "A structured set of questions and their answers",
        "definition": "A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the questionnaire being responded to.",
        "comment": "The QuestionnaireResponse contains enough information about the questions asked and their organization that it can be interpreted somewhat independently from the Questionnaire it is based on.  I.e. You don't need access to the Questionnaire in order to extract basic information from a QuestionnaireResponse.",
        "alias": [
          "Form",
          "QuestionnaireAnswers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Resource",
          "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()",
            "xpath": "not(parent::f:contained and f:contained)",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "dom-1",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
            "expression": "contained.text.empty()",
            "xpath": "not(parent::f:contained and f:text)",
            "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()",
            "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
            "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",
            "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()",
            "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Entity. Role, or Act"
          },
          {
            "identity": "rim",
            "map": "Observation[moodCode=EVN]"
          },
          {
            "identity": "w5",
            "map": "infrastructure.information"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.id",
        "path": "QuestionnaireResponse.id",
        "short": "GUID",
        "definition": "Unique GUID to identify each individual QuestionnaireResponse message",
        "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Resource.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.meta",
        "path": "QuestionnaireResponse.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 may not always be associated with version changes to the resource.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Resource.meta",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Meta"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.implicitRules",
        "path": "QuestionnaireResponse.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.",
        "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. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Resource.implicitRules",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.language",
        "path": "QuestionnaireResponse.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": "0",
        "base": {
          "path": "Resource.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueReference": {
                "reference": "http://hl7.org/fhir/ValueSet/all-languages"
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "Language"
            }
          ],
          "strength": "extensible",
          "description": "A human language."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.text",
        "path": "QuestionnaireResponse.text",
        "short": "Text summary of the resource, for human interpretation",
        "definition": "A human-readable narrative that contains a summary of the resource, and may 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 narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
        "alias": [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min": 0,
        "max": "0",
        "base": {
          "path": "DomainResource.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Narrative"
          }
        ],
        "condition": [
          "ele-1",
          "dom-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          },
          {
            "identity": "rim",
            "map": "Act.text?"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.contained",
        "path": "QuestionnaireResponse.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, and nor can they have their own independent transaction scope.",
        "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.",
        "alias": [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "DomainResource.contained",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Resource"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "Entity. Role, or Act"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.extension",
        "path": "QuestionnaireResponse.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 resource. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.modifierExtension",
        "path": "QuestionnaireResponse.modifierExtension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "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. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.identifier",
        "path": "QuestionnaireResponse.identifier",
        "short": "Unique id for this set of answers",
        "definition": "A business identifier assigned to a particular completed (or partially completed) questionnaire.",
        "requirements": "Used for tracking, registration and other business purposes.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)"
          },
          {
            "identity": "rim",
            "map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]"
          },
          {
            "identity": "servd",
            "map": "Identifier"
          },
          {
            "identity": "rim",
            "map": ".id"
          },
          {
            "identity": "w5",
            "map": "id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.basedOn",
        "path": "QuestionnaireResponse.basedOn",
        "short": "Request fulfilled by this QuestionnaireResponse",
        "definition": "The order, proposal or plan that is fulfilled in whole or in part by this QuestionnaireResponse.  For example, a ProcedureRequest seeking an intake assessment or a decision support recommendation to assess for post-partum depression.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Supports traceability of responsibility for the action and allows linkage of an action to the recommendations acted upon.",
        "alias": [
          "order"
        ],
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.basedOn",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=FLFS].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.parent",
        "path": "QuestionnaireResponse.parent",
        "short": "Part of this action",
        "definition": "A procedure or observation that this questionnaire was performed as part of the execution of.  For example, the surgery a checklist was executed as part of.",
        "comment": "Composition of questionnaire responses will be handled by the parent questionnaire having answers that reference the child questionnaire.  For relationships to referrals, and other types of requests, use basedOn.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.parent",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.questionnaire",
        "path": "QuestionnaireResponse.questionnaire",
        "short": "Form being answered",
        "definition": "The Questionnaire that defines and organizes the questions for which answers are being provided.",
        "comment": "If a QuestionnaireResponse references a Questionnaire, then the QuestionnaireResponse structure must be consistent with the Questionnaire (i.e. questions must be organized into the same groups, nested questions must still be nested, etc.).",
        "requirements": "Needed to allow editing of the questionnaire response in a manner that enforces the constraints of the original form.",
        "alias": [
          "Form"
        ],
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.questionnaire",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Questionnaire"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": "./outboundRelationship[typeCode=INST]/target[classCode=OBS, moodCode=DEFN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.status",
        "path": "QuestionnaireResponse.status",
        "short": "in-progress | completed | amended | entered-in-error | stopped",
        "definition": "The position of the questionnaire response within its overall lifecycle.",
        "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
        "requirements": "The information on Questionnaire resources  may possibly be gathered during multiple sessions and altered after considered being finished.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "completed",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireResponseStatus"
            }
          ],
          "strength": "required",
          "description": "Lifecycle status of the questionnaire response."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".statusCode (also whether there's a revisionControlAct - and possibly mood to distinguish \"in-progress\" from \"published)"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.subject",
        "path": "QuestionnaireResponse.subject",
        "short": "The subject of the questions",
        "definition": "The subject of the questionnaire response.  This could be a patient, organization, practitioner, device, etc.  This is who/what the answers apply to, but is not necessarily the source of information.",
        "comment": "If the Questionnaire declared a subjectType, the resource pointed to by this element must be an instance of one of the listed types.",
        "requirements": "Allows linking the answers to the individual the answers describe.  May also affect access control.",
        "alias": [
          "Patient",
          "Focus"
        ],
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role"
          },
          {
            "identity": "w5",
            "map": "who.focus"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.context",
        "path": "QuestionnaireResponse.context",
        "short": "Encounter or Episode during which questionnaire was completed",
        "definition": "The encounter or episode of care with primary association to the questionnaire response.",
        "comment": "A questionnaire that was initiated during an encounter but not fully completed during the encounter would still generally be associated with the encounter.",
        "requirements": "Provides context for the information that was captured.  May also affect access control.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.context",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]"
          },
          {
            "identity": "w5",
            "map": "context"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.authored",
        "path": "QuestionnaireResponse.authored",
        "short": "Date the answers were gathered",
        "definition": "Timestamp of generating this QuestionnaireResponse message.",
        "comment": "May be different from the lastUpdateTime of the resource itself, because that reflects when the data was known to the server, not when the data was captured.\n\nThis element is optional to allow for systems that may not know the value, however it SHOULD be populated if possible.",
        "requirements": "Clinicians need to be able to check the date that the information in the questionnaire was collected, to derive the context of the answers.",
        "alias": [
          "Date Created",
          "Date published",
          "Date Issued",
          "Date updated"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.authored",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].time"
          },
          {
            "identity": "w5",
            "map": "when.recorded"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.author",
        "path": "QuestionnaireResponse.author",
        "short": "Health Authority who received and recorded the answers",
        "definition": "Health Authority who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.",
        "comment": "none",
        "requirements": "Need to know who interpreted the subject's answers to the questions in the questionnaire, and selected the appropriate options for answers.",
        "alias": [
          "Laboratory",
          "Service",
          "Practitioner",
          "Department",
          "Company",
          "Performer"
        ],
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.author",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=AUT].role"
          },
          {
            "identity": "w5",
            "map": "who.author"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.author.id",
        "path": "QuestionnaireResponse.author.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.author.extension",
        "path": "QuestionnaireResponse.author.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.author.reference",
        "path": "QuestionnaireResponse.author.reference",
        "short": "Literal reference, Relative, internal or absolute URL",
        "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
        "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.reference",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1",
          "ref-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.author.identifier",
        "path": "QuestionnaireResponse.author.identifier",
        "short": "Logical reference, when literal reference is not known",
        "definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
        "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Reference.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)"
          },
          {
            "identity": "rim",
            "map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]"
          },
          {
            "identity": "servd",
            "map": "Identifier"
          },
          {
            "identity": "rim",
            "map": ".identifier"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.author.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.author.display",
        "short": "Text alternative for the resource",
        "definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
        "comment": "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Reference.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.source",
        "path": "QuestionnaireResponse.source",
        "short": "The person who answered the questions",
        "definition": "The person who answered the questions about the subject.",
        "comment": "If not specified, no inference can be made about who provided the data.",
        "requirements": "When answering questions about a subject that is minor, incapable of answering or an animal, another human source may answer the questions.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.source",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=INF].role"
          },
          {
            "identity": "w5",
            "map": "who.source"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.source.id",
        "path": "QuestionnaireResponse.source.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.source.extension",
        "path": "QuestionnaireResponse.source.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.source.reference",
        "path": "QuestionnaireResponse.source.reference",
        "short": "Literal reference, Relative, internal or absolute URL",
        "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
        "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.reference",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1",
          "ref-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.source.identifier",
        "path": "QuestionnaireResponse.source.identifier",
        "short": "Logical reference, when literal reference is not known",
        "definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
        "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Reference.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)"
          },
          {
            "identity": "rim",
            "map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]"
          },
          {
            "identity": "servd",
            "map": "Identifier"
          },
          {
            "identity": "rim",
            "map": ".identifier"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.source.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.source.display",
        "short": "Text alternative for the resource",
        "definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
        "comment": "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Reference.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item",
        "path": "QuestionnaireResponse.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Groups and questions",
        "definition": "A group or question item from the original questionnaire for which answers are provided.",
        "comment": "Groups cannot have answers and therefore must nest directly within item. When dealing with questions, nesting must occur within each answer because some questions may have multiple answers (and the nesting occurs for each answer).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
          },
          {
            "key": "qrs-1",
            "severity": "error",
            "human": "Nested item can't be beneath both item and answer",
            "expression": "(answer.exists() and item.exists()).not()",
            "xpath": "not(exists(f:answer) and exists(f:item))",
            "source": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.id",
        "path": "QuestionnaireResponse.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.extension",
        "path": "QuestionnaireResponse.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.modifierExtension",
        "path": "QuestionnaireResponse.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.linkId",
        "path": "QuestionnaireResponse.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.definition",
        "path": "QuestionnaireResponse.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.text",
        "path": "QuestionnaireResponse.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.subject",
        "path": "QuestionnaireResponse.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.answer",
        "path": "QuestionnaireResponse.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.answer.id",
        "path": "QuestionnaireResponse.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.answer.extension",
        "path": "QuestionnaireResponse.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.answer.value[x]",
        "path": "QuestionnaireResponse.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.answer.item",
        "path": "QuestionnaireResponse.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.item",
        "path": "QuestionnaireResponse.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION",
        "path": "QuestionnaireResponse.item",
        "sliceName": "INVESTIGATION",
        "short": "1.0 INVESTIGATION",
        "definition": "1.0 INVESTIGATION",
        "comment": "Groups cannot have answers and therefore must nest directly within item. When dealing with questions, nesting must occur within each answer because some questions may have multiple answers (and the nesting occurs for each answer).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
          },
          {
            "key": "qrs-1",
            "severity": "error",
            "human": "Nested item can't be beneath both item and answer",
            "expression": "(answer.exists() and item.exists()).not()",
            "xpath": "not(exists(f:answer) and exists(f:item))",
            "source": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.id",
        "path": "QuestionnaireResponse.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.extension",
        "path": "QuestionnaireResponse.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.modifierExtension",
        "path": "QuestionnaireResponse.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.linkId",
        "path": "QuestionnaireResponse.item.linkId",
        "short": "linkId INVESTIGATION",
        "definition": "linkId INVESTIGATION",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "INVESTIGATION",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.definition",
        "path": "QuestionnaireResponse.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.text",
        "path": "QuestionnaireResponse.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.subject",
        "path": "QuestionnaireResponse.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.answer",
        "path": "QuestionnaireResponse.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.answer.id",
        "path": "QuestionnaireResponse.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.answer.extension",
        "path": "QuestionnaireResponse.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.answer.value[x]",
        "path": "QuestionnaireResponse.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.answer.item",
        "path": "QuestionnaireResponse.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item",
        "path": "QuestionnaireResponse.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "externalSystemType",
        "short": "1.1 investigation_externalSystemType",
        "definition": "1.1 investigation_externalSystemType",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.id",
        "path": "QuestionnaireResponse.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.extension",
        "path": "QuestionnaireResponse.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.modifierExtension",
        "path": "QuestionnaireResponse.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "linkId investigation_externalSystemType",
        "definition": "linkId investigation_externalSystemType",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "investigation_externalSystemType",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.text",
        "path": "QuestionnaireResponse.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.extension",
        "path": "QuestionnaireResponse.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n293",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.item",
        "path": "QuestionnaireResponse.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.item",
        "path": "QuestionnaireResponse.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "externalSystemCaseIdentifier",
        "short": "1.2 investigation_externalSystemCaseIdentifier",
        "definition": "1.2 investigation_externalSystemCaseIdentifier",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.id",
        "path": "QuestionnaireResponse.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.extension",
        "path": "QuestionnaireResponse.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.modifierExtension",
        "path": "QuestionnaireResponse.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "linkId investigatioin_externalSystemCaseIdentifier",
        "definition": "linkId investigatioin_externalSystemCaseIdentifier",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "investigatioin_externalSystemCaseIdentifier",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.text",
        "path": "QuestionnaireResponse.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.extension",
        "path": "QuestionnaireResponse.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n293.1",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.value[x].value",
        "path": "QuestionnaireResponse.item.item.answer.value[x].value",
        "representation": [
          "xmlAttr"
        ],
        "short": "Primitive value for string",
        "definition": "Primitive value for string",
        "min": 0,
        "max": "1",
        "base": {
          "path": "string.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/regex",
                "valueString": "[\\r\\n\\t\\u0020-\\uFFFF]*"
              }
            ],
            "_code": {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
                  "valueString": "string"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
                  "valueString": "xsd:string"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
                  "valueString": "xsd:string"
                }
              ]
            }
          }
        ],
        "maxLength": 1048576
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.item",
        "path": "QuestionnaireResponse.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.item",
        "path": "QuestionnaireResponse.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "INVESTIGATIONDETAILS",
        "short": "1.3 INVESTIGATION_DETAILS",
        "definition": "1.3 INVESTIGATION_DETAILS",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.id",
        "path": "QuestionnaireResponse.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.extension",
        "path": "QuestionnaireResponse.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.modifierExtension",
        "path": "QuestionnaireResponse.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "linkId INVESTIGATION_DETAILS",
        "definition": "linkId INVESTIGATION_DETAILS",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "INVESTIGATION_DETAILS",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.text",
        "path": "QuestionnaireResponse.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.answer.extension",
        "path": "QuestionnaireResponse.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.answer.item",
        "path": "QuestionnaireResponse.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item",
        "path": "QuestionnaireResponse.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "InvestigationDetailsDiseaseSummary",
        "short": "1.3.1 investigationDetails_DiseaseSummary",
        "definition": "1.3.1 investigationDetails_DiseaseSummary",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkId investigationDetails_DiseaseSummary",
        "definition": "linkId investigationDetails_DiseaseSummary",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "investigationDetails_DiseaseSummary",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_classification",
        "short": "1.3.1.1 invDetDiseaseSum_classification",
        "definition": "1.3.1.1 invDetDiseaseSum_classification",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_classification",
        "definition": "linkId invDetDiseaseSum_classification",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_classification",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n193",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_classificationGroup",
        "short": "1.3.1.2 invDetDiseaseSum_classificationGroup",
        "definition": "1.3.1.2 invDetDiseaseSum_classificationGroup",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_classificationGroup",
        "definition": "linkId invDetDiseaseSum_classificationGroup",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_classificationGroup",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n193.1",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_disease",
        "short": "invDetDiseaseSum_Disease",
        "definition": "invDetDiseaseSum_Disease",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_disease",
        "definition": "linkId invDetDiseaseSum_disease",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_disease",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n194",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_authority",
        "short": "invDetDiseaseSum_authority",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_authority",
        "definition": "linkId invDetDiseaseSum_authority",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_authority",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n257",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n257",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_furtherDifferentiation",
        "short": "invDetDiseaseSum_furtherDifferentiation",
        "definition": "invDetDiseaseSum_furtherDifferentiation",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_furtherDifferentiation",
        "definition": "linkId invDetDiseaseSum_furtherDifferentiation",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_furtherDifferentiation",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n264",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.value[x].value",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].value",
        "representation": [
          "xmlAttr"
        ],
        "short": "Primitive value for string",
        "definition": "Primitive value for string",
        "min": 0,
        "max": "1",
        "base": {
          "path": "string.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/regex",
                "valueString": "[\\r\\n\\t\\u0020-\\uFFFF]*"
              }
            ],
            "_code": {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
                  "valueString": "string"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
                  "valueString": "xsd:string"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
                  "valueString": "xsd:string"
                }
              ]
            }
          }
        ],
        "maxLength": 1048576
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_classificationDate",
        "short": "invDetDiseaseSum_classificationDate",
        "definition": "invDetDiseaseSum_classificationDate",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_classificationDate",
        "definition": "linkId invDetDiseaseSum_classificationDate",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_classificationDate",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n265",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.value[x].value",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].value",
        "representation": [
          "xmlAttr"
        ],
        "short": "Primitive value for date",
        "definition": "Primitive value for date",
        "min": 0,
        "max": "1",
        "base": {
          "path": "date.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-regex",
                "valueString": "-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1]))?)?"
              }
            ],
            "_code": {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
                  "valueString": "string"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
                  "valueString": "xsd:gYear OR xsd:gYearMonth OR xsd:date"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
                  "valueString": "xsd:gYear OR xsd:gYearMonth OR xsd:date"
                }
              ]
            }
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_stage",
        "short": "invDetDiseaseSum_stage",
        "definition": "invDetDiseaseSum_stage",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_stage",
        "definition": "linkId invDetDiseaseSum_stage",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_stage",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n194.2",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_site",
        "short": "invDetDiseaseSum_site",
        "definition": "invDetDiseaseSum_site",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_site",
        "definition": "linkId invDetDiseaseSum_site",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_site",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n194.3",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n194.3",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_recordType",
        "short": "invDetDiseaseSum_recordType",
        "definition": "invDetDiseaseSum_recordType\r\nCM: Mandatory if Disease (194) provided",
        "comment": "CD_Mandate_Dataset_Specs Data Element ID: \r\n194.4",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_recordType",
        "definition": "linkId invDetDiseaseSum_recordType",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_recordType",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n194.4",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n194.4",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_diseaseID",
        "short": "Disease ID",
        "definition": "Mandatory if data element (194) Disease provided",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Disease ID",
        "definition": "CM: Mandatory if data element (194) Disease provided\r\nDisease ID",
        "comment": "none",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_diseaseID",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n194.6",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.value[x].value",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].value",
        "representation": [
          "xmlAttr"
        ],
        "short": "Primitive value for string",
        "definition": "Primitive value for string",
        "min": 0,
        "max": "1",
        "base": {
          "path": "string.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/regex",
                "valueString": "[\\r\\n\\t\\u0020-\\uFFFF]*"
              }
            ],
            "_code": {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
                  "valueString": "string"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
                  "valueString": "xsd:string"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
                  "valueString": "xsd:string"
                }
              ]
            }
          }
        ],
        "maxLength": 1048576
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtMicroOrg",
        "short": "MicroOrganism",
        "definition": "MicroOrganism",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtMicroOrg",
        "definition": "MicroOrganism",
        "comment": "none",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_etioAgtMicroOrg",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtTaxoR1",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID Taxonomy Rank 1",
        "definition": "linkID Taxonomy Rank 1",
        "comment": "none",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_etioAgtTaxoR1",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315.1",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315.1",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtTaxoR2",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtTaxoR2",
        "definition": "linkID invDetDiseaseSum_etioAgtTaxoR2",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_etioAgtTaxoR2",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315.2",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtTaxoR3",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtTaxoR3",
        "definition": "linkID invDetDiseaseSum_etioAgtTaxoR3",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_etioAgtTaxoR3",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315.3",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtTaxoR4",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtTaxoR4",
        "definition": "linkID invDetDiseaseSum_etioAgtTaxoR4",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_etioAgtTaxoR4",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315.4",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtTaxoR5",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtTaxoR5",
        "definition": "linkId invDetDiseaseSum_etioAgtTaxoR5",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_etioAgtTaxoR5",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315.5",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtTaxoR6",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "linkID invDetDiseaseSum_etioAgtTaxoR6",
        "definition": "linkID invDetDiseaseSum_etioAgtTaxoR6",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_etioAgtTaxoR6",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315.6",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtEPImarker",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtEPImarker",
        "definition": "linkID invDetDiseaseSum_etioAgtEPImarker",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_etioAgtEPImarker",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtEPImarkName",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtEPImarkName",
        "definition": "linkID invDetDiseaseSum_etioAgtEPImarkName",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_etioAgtEPImarkName",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n316",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtEPImarkValue",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtEPImarkValue",
        "definition": "linkId invDetDiseaseSum_etioAgtEPImarkValue",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_etioAgtEPImarkValue",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n316.1",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtEPImarkOvr",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtEPImarkOvr",
        "definition": "linkID invDetDiseaseSum_etioAgtEPImarkOvr",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_etioAgtEPImarkOvr",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n316.2",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtInfoSource",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtInfoSource",
        "definition": "The item from the linkID invDetDiseaseSum_etioAgtInfoSource",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_etioAgtInfoSource",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n315.7",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtLabResultInd",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtLabResultInd",
        "definition": "linkID invDetDiseaseSum_etioAgtLabResultInd",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetDiseaseSum_etioAgtLabResultInd",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n194.5",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "InvestigationDetails_InvestigationInformation",
        "short": "1.3.2 InvestigationDetails_InvestigationInformation",
        "definition": "1.3.2 InvestigationDetails_InvestigationInformation",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkId InvestigationDetails_InvestigationInformation",
        "definition": "linkId InvestigationDetails_InvestigationInformation",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "InvestigationDetails_InvestigationInformation",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetInvInfo_clientHomeAddressInitialInvestigation",
        "short": "invDetInvInfo_clientHomeAddressInitialInvestigation",
        "definition": "invDetInvInfo_clientHomeAddressInitialInvestigation\r\nTo be derived by API service based on current address of investigation; HAs do not send this info.",
        "comment": "CD_Mandate_Dataset_Specs Data Element ID: \r\n296",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n298",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetInvInfo_status",
        "short": "invDetInvInfo_status",
        "definition": "invDetInvInfo_status",
        "comment": "CD_Mandate_Dataset_Specs Data Element ID: \r\n313",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n313",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetInvInfo_statusDate",
        "short": "invDetInvInfo_statusDate",
        "definition": "invDetInvInfo_statusDate",
        "comment": "CD_Mandate_Dataset_Specs Data Element ID: \r\n313.1",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n313.1",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.value[x].value",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].value",
        "representation": [
          "xmlAttr"
        ],
        "short": "Primitive value for date",
        "definition": "Primitive value for date",
        "min": 0,
        "max": "1",
        "base": {
          "path": "date.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-regex",
                "valueString": "-?[0-9]{4}(-(0[1-9]|1[0-2])(-(0[0-9]|[1-2][0-9]|3[0-1]))?)?"
              }
            ],
            "_code": {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
                  "valueString": "string"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
                  "valueString": "xsd:gYear OR xsd:gYearMonth OR xsd:date"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
                  "valueString": "xsd:gYear OR xsd:gYearMonth OR xsd:date"
                }
              ]
            }
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_investigationDiagnosisComment",
        "short": "invDetDiseaseSum_investigationDiagnosisComment",
        "definition": "invDetDiseaseSum_investigationDiagnosisComment",
        "comment": "CD_Mandate_Dataset_Specs Data Element ID: \r\n194.1",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n194.1",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.value[x].value",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].value",
        "representation": [
          "xmlAttr"
        ],
        "short": "Primitive value for string",
        "definition": "Primitive value for string",
        "min": 0,
        "max": "1",
        "base": {
          "path": "string.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/regex",
                "valueString": "[\\r\\n\\t\\u0020-\\uFFFF]*"
              }
            ],
            "_code": {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type",
                  "valueString": "string"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type",
                  "valueString": "xsd:string"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type",
                  "valueString": "xsd:string"
                }
              ]
            }
          }
        ],
        "maxLength": 1048576
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "InvestigationDetails_RespOrganizationInvestigator",
        "short": "1.3.3. InvestigationDetails_RespOrganizationInvestigator",
        "definition": "1.3.3. InvestigationDetails_RespOrganizationInvestigator",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkID InvestigationDetails_RespOrganizationInvestigator",
        "definition": "linkID InvestigationDetails_RespOrganizationInvestigator",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "invDetRespOrgInv_responsibleOrganization",
        "definition": "invDetRespOrgInv_responsibleOrganization",
        "comment": "CD_Mandate_Dataset_Specs Data Element ID: \r\n99",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRespOrgInv_responsibleOrganization",
        "short": "invDetRespOrgInv_responsibleOrganization",
        "definition": "invDetRespOrgInv_responsibleOrganization",
        "comment": "CD_Mandate_Dataset_Specs Data Element ID: \r\n99",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetRespOrgInv_responsibleOrganization",
        "definition": "linkID invDetRespOrgInv_responsibleOrganization",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetRespOrgInv_responsibleOrganization",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n99",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRespOrgInv_responsibleOrganizationWorkgroup",
        "short": "invDetRespOrgInv_responsibleOrganizationWorkgroup",
        "definition": "invDetRespOrgInv_responsibleOrganizationWorkgroup",
        "comment": "CD_Mandate_Dataset_Specs Data Element ID: \r\n99.3",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetRespOrgInv_responsibleOrganizationWorkgroup",
        "definition": "linkID invDetRespOrgInv_responsibleOrganizationWorkgroup",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetRespOrgInv_responsibleOrganizationWorkgroup",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n99.3",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRespOrgInv_responsibleOrganizationDate",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetRespOrgInv_responsibleOrganizationDate",
        "definition": "linkID invDetRespOrgInv_responsibleOrganizationDate",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetRespOrgInv_responsibleOrganizationDate",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n99.4",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRespOrgInv_investigatorOrganization",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetRespOrgInv_investigatorOrganization",
        "definition": "linkID invDetRespOrgInv_investigatorOrganization",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetRespOrgInv_investigatorOrganization",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n99.5",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRespOrgInv_investigatorWorkgroup",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetRespOrgInv_investigatorWorkgroup",
        "definition": "linkId invDetRespOrgInv_investigatorWorkgroup",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetRespOrgInv_investigatorWorkgroup",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n99.6",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRespOrgInv_investigatorAssignedDate",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetRespOrgInv_investigatorAssignedDate",
        "definition": "linkID invDetRespOrgInv_investigatorAssignedDate",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetRespOrgInv_investigatorAssignedDate",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n99.7",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRespOrgInv_recordType",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetRespOrgInv_recordType",
        "definition": "linkID invDetRespOrgInv_recordType",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetRespOrgInv_recordType",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n99.8",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "InvestigationDetails_ReportingNotifications",
        "short": "1.3.4 InvestigationDetails_ReportingNotifications",
        "definition": "1.3.4 InvestigationDetails_ReportingNotifications",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkID InvestigationDetails_ReportingNotifications",
        "definition": "linkID InvestigationDetails_ReportingNotifications",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "InvestigationDetails_ReportingNotifications",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRepNotif_reportingSentDate",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetRepNotif_reportingSentDate",
        "definition": "linkId invDetRepNotif_reportingSentDate",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetRepNotif_reportingSentDate",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "0",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n104.4",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRepNotif_reportingReceivedDate",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetRepNotif_reportingReceivedDate",
        "definition": "linkId invDetRepNotif_reportingReceivedDate",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetRepNotif_reportingReceivedDate",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n104",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRepNotif_provider",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetRepNotif_provider",
        "definition": "CM: Mandatory if either data element (104.2) or (104.3) or Reporting Provider has to be provided\r\nlinkId invDetRepNotif_provider",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetRepNotif_provider",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "CM: Mandatory if either data element (104.2) or (104.3) or Reporting Provider has to be provided",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.value[x].reference",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].reference",
        "short": "Literal reference, Relative, internal or absolute URL",
        "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:  \r\nTo be referenced for Reporting Provider",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.reference",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "Practitioner",
        "condition": [
          "ele-1",
          "ref-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.value[x].identifier",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].identifier",
        "short": "Logical reference, when literal reference is not known",
        "definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
        "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)"
          },
          {
            "identity": "rim",
            "map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]"
          },
          {
            "identity": "servd",
            "map": "Identifier"
          },
          {
            "identity": "rim",
            "map": ".identifier"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Text alternative for the resource",
        "definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
        "comment": "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRepNotif_providerFacility",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkIdinvDetRepNotif_providerFacility",
        "definition": "linkId invDetRepNotif_providerFacility",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetRepNotif_providerFacility",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:  178",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRepNotif_providerReportingSourceLocation",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetRepNotif_providerReportingSourceLocation",
        "definition": "CM: Mandatory if either data element (104.2) or (104.3) or Reporting Provider has to be provided\r\nlinkId invDetRepNotif_providerReportingSourceOther",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetRepNotif_providerReportingSourceLocation",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "CM: Mandatory if either data element (104.2) or (104.3) or Reporting Provider has to be provided",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n104.2",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRepNotif_providerReportingSourceOther",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetRepNotif_providerReportingSourceOther",
        "definition": "linkId invDetRepNotif_providerReportingSourceOther",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetRepNotif_providerReportingSourceOther",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n104.3",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRepNotif_providerStreetAddress",
        "short": "invDetRepNotif_providerStreetAddress",
        "definition": "invDetRepNotif_providerStreetAddress",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "invDetRepNotif_providerStreetAddress",
        "definition": "invDetRepNotif_providerStreetAddress",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetRepNotif_providerStreetAddress",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n178.1",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRepNotif_recordType",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetRepNotif_recordType",
        "definition": "linkId invDetRepNotif_recordType",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "invDetRepNotif_recordType",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n167.3",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "InvestigationDetails_UDF",
        "short": "1.3.5 InvestigationDetails_UDF",
        "definition": "1.3.5 InvestigationDetails_UDF",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkId InvestigationDetails_UDF",
        "definition": "linkId InvestigationDetails_UDF",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "InvestigationDetails_UDF",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "UDF_snomedCodeOfDisease1",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId UDF_snomedCodeOfDisease1",
        "definition": "UDF_snomedCodeOfDisease1\r\ne.g. UDF_397428000 for Diphtheria",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "UDF_questionKeyword1Disease1",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkId UDF_questionKeyword1Disease1",
        "definition": "linkId UDF_questionKeyword1Disease1\r\ne.g. UDF_admission_date",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "UDF_questionKeyword2Disease1",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkId UDF_questionKeyword2Disease1",
        "definition": "linkId UDF_questionKeyword2Disease1",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "UDF_snomedcodeOfDisease2",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId UDF_snomedcodeOfDisease2",
        "definition": "linkID UDF_snomedcodeOfDisease2\r\ne.g. UDF_56717001 for Tuberculosis",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "UDF_questionKeyword1Disease2",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkId UDF_questionKeyword1Disease2",
        "definition": "linkId UDF_questionKeyword1Disease2\r\ne.g. UDF_admitted_to_hospital",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "UDF_questionKeyword2Disease2",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkId UDF_questionKeyword2Disease2",
        "definition": "linkId UDF_questionKeyword2Disease2\r\ne.g. UDF_name_of_hospital_for_admission",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "LAB",
        "short": "1.4 LAB",
        "definition": "1.4 LAB",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.id",
        "path": "QuestionnaireResponse.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.extension",
        "path": "QuestionnaireResponse.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.modifierExtension",
        "path": "QuestionnaireResponse.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "linkId LAB",
        "definition": "linkId LAB",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "LAB",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.text",
        "path": "QuestionnaireResponse.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.answer.extension",
        "path": "QuestionnaireResponse.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.answer.item",
        "path": "QuestionnaireResponse.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item",
        "path": "QuestionnaireResponse.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "lab_diagnosticReport",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkId lab_idagnosticReport",
        "definition": "linkId lab_idagnosticReport",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "lab_idagnosticReport",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.value[x].reference",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].reference",
        "short": "Literal reference, Relative, internal or absolute URL",
        "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\nTo be referenced for Lab Test and Result",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.reference",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "DiagnosticReport",
        "condition": [
          "ele-1",
          "ref-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.value[x].identifier",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].identifier",
        "short": "Logical reference, when literal reference is not known",
        "definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
        "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)"
          },
          {
            "identity": "rim",
            "map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]"
          },
          {
            "identity": "servd",
            "map": "Identifier"
          },
          {
            "identity": "rim",
            "map": ".identifier"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].display",
        "short": "Text alternative for the resource",
        "definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
        "comment": "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "lab_phReceivedDate",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkId lab_phReceivedDate",
        "definition": "linkId lab_phReceivedDate",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "lab_phReceivedDate",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n294",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "labRpt_recordType",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkId labRpt_recordType",
        "definition": "linkId labRpt_recordType",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "labRpt_recordType",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "CM: Mandatory if data element (30.1) Lab Result Name provided",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n14.1",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "SIGNS_SYMPTOMS",
        "short": "1.5 SIGNS_SYMPTOMS",
        "definition": "1.5 SIGNS_SYMPTOMS",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.id",
        "path": "QuestionnaireResponse.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.extension",
        "path": "QuestionnaireResponse.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.modifierExtension",
        "path": "QuestionnaireResponse.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "linkID SIGNS_SYMPTOMS",
        "definition": "linkId SIGNS_SYMPTOMS",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "SIGNS_SYMPTOMS",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.text",
        "path": "QuestionnaireResponse.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.answer.extension",
        "path": "QuestionnaireResponse.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.answer.item",
        "path": "QuestionnaireResponse.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item",
        "path": "QuestionnaireResponse.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_onsetFlag",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "linkId signSymp_onsetFlag",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "signSymp_onsetFlag",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n48",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_onsetDate",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkId signSymp_onsetDate",
        "definition": "CM: Mandatory if data element (48) Onset Flag=\"y\"\r\nlinkId signSymp_onsetDate",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "signSymp_onsetDate",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n49",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_recoveryTime",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "signSymp_recoveryTime",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n49.1",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_recoveryTimeEstimatedIndicator",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "signSymp_recoveryTimeEstimatedIndicator",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n49.2",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_duration",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "signSymp_duration",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n49.3",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_signsSymptoms",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "signSymp_signsSymptoms",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n56",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_symptomID",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandaotyr if data element (56) Sign Symptoms provided\r\nsignSymp_symptomID",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "signSymp_symptomID",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n56.1",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_dateOnsetEstimatedIndicator",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "signSymp_dateOnsetEstimatedIndicator",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n258",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_otherSignsSymptoms",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandaotyr if data element (56) Sign Symptoms =\"Other\"\r\nlinkId signSymp_otherSignsSymptoms",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "signSymp_otherSignsSymptoms",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n259",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_signsSymptomsResponse",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatoryf data element (56) provided",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "signSymp_signsSymptomsResponse",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n260",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_recordType",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandaotyr if data element (56) Signs Symptoms provided",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "signSymp_recordType",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n56.2",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "COMPLICATIONS",
        "short": "1.6 COMPLICATIONS",
        "definition": "1.6 COMPLICATIONS",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.id",
        "path": "QuestionnaireResponse.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.extension",
        "path": "QuestionnaireResponse.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.modifierExtension",
        "path": "QuestionnaireResponse.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "COMPLICATIONS",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.text",
        "path": "QuestionnaireResponse.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.answer.extension",
        "path": "QuestionnaireResponse.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.answer.item",
        "path": "QuestionnaireResponse.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item",
        "path": "QuestionnaireResponse.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "cmpl_complication",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "cmpl_complication",
        "definition": "cmpl_complication",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "cmpl_complication",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n296",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "cmpl_complicationDate",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "cmpl_complicationDate",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n296.1",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "cmpl_reportedBy",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "cmpl_reportedBy",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n296.2",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "cmpl_response",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory if data element (296) Complication provided",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "cmpl_response",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n296.3",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "cmpl_otherComplication",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory if data element (296) Complication=\"Other\"",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "cmpl_otherComplication",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n296.4",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "cmpl_encounterID",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Other Complication",
        "definition": "CM: Mandatory if data element (296) Compliation provided \r\nOther Complication",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "cmpl_encounterID",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n296.5",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "cmpl_complicationID",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Complication ID",
        "definition": "CM: Mandatory if data element (296) Complication provided",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "cmpl_complicationID",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n296.7",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "cmpl_recordType",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "cmpl_recordType",
        "definition": "CM: Mandatory if data element (296) Complication provided",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "cmpl_recordType",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n296.6",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "OUTCOMES",
        "short": "1.7 OUTCOMES",
        "definition": "1.7 OUTCOMES",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.id",
        "path": "QuestionnaireResponse.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.extension",
        "path": "QuestionnaireResponse.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.modifierExtension",
        "path": "QuestionnaireResponse.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "OUTCOMES",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.text",
        "path": "QuestionnaireResponse.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.answer.extension",
        "path": "QuestionnaireResponse.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.answer.item",
        "path": "QuestionnaireResponse.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item",
        "path": "QuestionnaireResponse.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "outC_outcomeDate",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Outcome Date",
        "definition": "CM: Mandatory if data element (155) Outcome =\"Fatal\"",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "outC_outcomeDate",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n149",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "outC_specifyOutcome",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory if 155) Outcome =\"Other\"",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "outC_specifyOutcome",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n153",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "outC_outcomeCauseOfDeath",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory if data element (155) Outcome = \"Fatal\"",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "outC_outcomeCauseOfDeath",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n154",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "outC_causeOfDeathComments",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Cause of Death Comments",
        "definition": "Cause of Death Comments",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "outC_causeOfDeathComments",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n154.2",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "outC_causeOfDeathOtherText",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Cause of Death - Other text",
        "definition": "CM: Mandatory if data element (154) Outcome - Cause of Death is provided",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "outC_causeOfDeathOtherText",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n154.1",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "outC_outcomeComments",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Outcome Comments",
        "definition": "Outcome Comments",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "outC_outcomeComments",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n155.1",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "outC_outcome",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "Outcome",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "outC_outcome",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n155",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "outC_recordType",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory if data element (155) Outcome provided\r\nRecord Type - Outcome",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "outC_recordType",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n155.2",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "INTERVENTIONS",
        "short": "1.8 INTERVENTIONS",
        "definition": "1.8 INTERVENTIONS",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.id",
        "path": "QuestionnaireResponse.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.extension",
        "path": "QuestionnaireResponse.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.modifierExtension",
        "path": "QuestionnaireResponse.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "INTERVENTIONS",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.text",
        "path": "QuestionnaireResponse.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.answer.extension",
        "path": "QuestionnaireResponse.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.answer.item",
        "path": "QuestionnaireResponse.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item",
        "path": "QuestionnaireResponse.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_interventionType",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "Intervention Type",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "intrvnt_interventionType",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_interventionSubtype",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory if data element (73) Intervention Type provided\r\nIntervention SubType",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "intrvnt_interventionSubtype",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73.1",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_interventionDisposition",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "intrvnt_interventionDisposition",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73.6",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_startDateOfIntervention",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory if data element (73) Intervention Type provided\r\nStart Date of Intervention",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "intrvnt_startDateOfIntervention",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73.2",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_endDateOfIntervention",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "intrvnt_endDateOfIntervention",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73.3",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_organization",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory if data element (73) Intervention Type provided",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "intrvnt_organization",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73.4",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_serviceDeliveryLocation",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory if data element (73) Intervention Type provided",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "intrvnt_serviceDeliveryLocation",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73.5",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_interventionOutcome",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory if data element (73) Intervention Type provided",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "intrvnt_interventionOutcome",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n74.1",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_details",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "intrvnt_details",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n75",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_interventionID",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory if data element (73) Intervention Type provided",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "intrvnt_interventionID",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73.8",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_recordType",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory if data element (73) Intervention Type provided",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "intrvnt_recordType",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73.7",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "EXPOSURE_SUMMARY",
        "short": "1.9 EXPOSURE_SUMMARY",
        "definition": "1.9 EXPOSURE_SUMMARY",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.id",
        "path": "QuestionnaireResponse.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.extension",
        "path": "QuestionnaireResponse.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.modifierExtension",
        "path": "QuestionnaireResponse.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.text",
        "path": "QuestionnaireResponse.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.answer.extension",
        "path": "QuestionnaireResponse.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.answer.item",
        "path": "QuestionnaireResponse.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item",
        "path": "QuestionnaireResponse.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "expoSum_TE",
        "short": "1.9.1 expoSum_TE",
        "definition": "1.9.1 expoSum_TE",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_linkID",
        "short": "1.9.1.1 expoSumTE_linkID",
        "definition": "1.9.1.1 expoSumTE_linkID",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "TE Link ID (TE)",
        "definition": "Mandatory to create Acquisition Event",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTE_linkID",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n185.2",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_id",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "TE ID (TE)",
        "definition": "Mandatory to create Transmission Event",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTE_id",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n185.3",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_exposureName",
        "short": "expoSumTE_exposureName",
        "definition": "expoSumTE_exposureName",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Exposure Name (TE)",
        "definition": "Mandatory to create Tranmission Event",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTE_exposureName",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n185.1",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_transmissionStartDate",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTE_transmissionStartDate",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n185",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_exposureLocationNameAddress",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTE_exposureLocationNameAddress",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n187",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_modeOfTransmission",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTE_modeOfTransmission",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n305",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_natureOfTransmission",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTE_natureOfTransmission",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n305.1",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_exposureSetting",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTE_exposureSetting",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n186",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE__recordType",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTE__recordType",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n185.4",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_Contact",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTE_Contact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumTEContact_anonymousContact",
        "short": "1.9.1.10.1 expoSumTEContact_anonymousContact",
        "definition": "1.9.1.10.1 expoSumTEContact_anonymousContact",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "Anonymous Contacts",
        "definition": "Anonymous Contacts",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_anonymousContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n304",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumTEContact_anonymousContactDetails",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_anonymousContactDetails",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n304.1",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumTEContact_RpGp58",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "1.9.1.10.3 expoSumTEContact_RpGp58",
        "definition": "1.9.1.10.3 expoSumTEContact_RpGp58\r\nRepeating Group #58",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_RpGp#58",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_indeterminateContactClientInd",
        "short": "1.9.1.10.3.1 expoSumTEContact_indeterminateContactClientInd",
        "definition": "1.9.1.10.3.1 expoSumTEContact_indeterminateContactClientInd",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Indeterminate Contact Client Indicator",
        "definition": "CM: Mandatory for contact record to be created.  Defaults to \"N\".\r\nIndeterminate Contact Client Indicator",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_indeterminateContactClientInd",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n299.4",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_contactTEID",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_contactTEID",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n299.6",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_lastNameContact",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_lastNameContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n299",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_firstNameContact",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_firstNameContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n299.1",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_doBContact",
        "short": "expoSumTEContact_doBContact",
        "definition": "expoSumTEContact_doBContact",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "DoB (Contact TE)",
        "definition": "DoB (Contact TE)",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_doBContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "DoB (Contact TE)",
        "definition": "CM: Mandatory for contact record to be created unless data element 299.4=\"Y\"",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n299.2",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_genderContact",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "expoSumTEContact_genderContact",
        "definition": "CM: Mandatory for contact record to be created unless data element 299.4=\"Y\"",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_genderContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n299.3",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_healthRegionInfoContact",
        "short": "expoSumTEContact_healthRegionInfoContact",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Health Region Information (Contact TE)",
        "definition": "CM: Mandatory for contact record to be created unless 299.4=\"Y\"",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_healthRegionInfoContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code",
        "short": "Health Region Information (Contact TE)",
        "definition": "CM: Mandatory for contact record to be created unless data element 299.4=\"Y\"",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n300",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_typeOfContact",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "expoSumTEContact_typeOfContact",
        "definition": "Type of Contact (Contact TE)",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_typeOfContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n131",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_earliestContact",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Earliest Contact (Contact TE)",
        "definition": "Earliest Contact (Contact TE)",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_earliestContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n132",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_mostRecentContact",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Most Recent Contact (Contact TE)",
        "definition": "Most Recent Contact (Contact TE)",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_mostRecentContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n133",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_otherDetailsContact",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Other Details (Contact TE)",
        "definition": "Other Details (Contact TE)",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_otherDetailsContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n134",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContactRpGp58__recordType",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContactRpGp58__recordType",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n299.5",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumTEContact_RpGp3",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_RpGp#3",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_postExpProphylaxisMMR_OutOfBC",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_postExpProphylaxisMMR_OutOfBC",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n136",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_mmrDate_outOfBC",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_mmrDate_outOfBC",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n136.1",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_igCC_outOfBC",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_igCC_outOfBC",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n136.2",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_igDate_outOfBC",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_igDate_outOfBC",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n136.3",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_postExpoProphylaxisIG_outOfBC",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_postExpoProphylaxisIG_outOfBC",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n136.4",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_contactName_outOfBC",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_contactName_outOfBC",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n287",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_unknownContactID",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_unknownContactID",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n287.4",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_disposition_outOfBC",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_disposition_outOfBC",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n287.1",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_dispositionDetails_outOfBC",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_dispositionDetails_outOfBC",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n287.2",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_contactDetails_outOfBC",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_contactDetails_outOfBC",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n288",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_contactInfos_outOfBC",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_contactInfos_outOfBC",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n289",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_susceptibliity_outOfBC",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_susceptibliity_outOfBC",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n135",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_contactDateEarliest_outOfBC",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_contactDateEarliest_outOfBC",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n136.5",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_contactDateMostRecent_outOfBC",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContact_contactDateMostRecent_outOfBC",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n136.6",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContactRpGp3__recordType",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumTEContactRpGp3__recordType",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n287.3",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "expoSum_AE",
        "short": "1.9.2 expoSum_AE",
        "definition": "1.9.2 expoSum_AE",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSum_AE",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_linkID",
        "short": "1.9.2.1 expoSumAE_linkID",
        "definition": "1.9.2.1 expoSumAE_linkID",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "AE Link ID (AE)",
        "definition": "CM: Mandatory to link Transmission Event",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_linkID",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "CM: Mandatory to link Transmission Event",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n301.2",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_id",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory to create Acquisition Event",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_id",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "CM: Mandatory to create Acquisition Event",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n301.3",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_exposureName",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory to create Acquisition Event",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_exposureName",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n301.1",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_acquisitionStartDate",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory to create Acquisition Event",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_acquisitionStartDate",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n301",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_exposureLocationNameAddress",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_exposureLocationNameAddress",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n303",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_modeOfAcquisition",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_modeOfAcquisition",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n301.5",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_natureOfAcquisition",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_natureOfAcquisition",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n301.6",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_exposureSetting",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_exposureSetting",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n302",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE__recordType",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory to create Acquisition Event",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE__recordType",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n301.4",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_RpGp7",
        "short": "1.9.2.10 expoSumAE_RpGp7",
        "definition": "1.9.2.10 expoSumAE_RpGp7",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.extension",
        "path": "QuestionnaireResponse.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Repeating Group 7",
        "definition": "Repeating Group 7",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_RpGp7",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_indeterminateContactClientInd",
        "short": "1.9.2.10.1 expoSumAE_indeterminateContactClientInd",
        "definition": "1.9.2.10.1 expoSumAE_indeterminateContactClientInd",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_indeterminateContactClientInd",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n307.4",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_lastNameContact",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory for contact record to be created",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_lastNameContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n307",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_firstNameContact",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory for contact record to be created",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_firstNameContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_dobContact",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory for contact record to be created unless data element 307.4=\"Y\"",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_dobContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n307.2",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_genderContact",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory for contact record to be created unless data element 307.4=\"Y\"",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_genderContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n307.3",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_healthRegionInfoContact",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory for contact record to be created unless data element 307.4=\"Y\"",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_healthRegionInfoContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n308",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_typeOfContact",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_typeOfContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n309",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_earliestContact",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_earliestContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_mostRecentContact",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_mostRecentContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n311",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_otherDetailsContact",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_otherDetailsContact",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n312",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_contactAEID",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAE_contactAEID",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n307.6",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAERpGp7__recordType",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "expoSumAERpGp7__recordType",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n307.5",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT",
        "path": "QuestionnaireResponse.item",
        "sliceName": "SUBJECT",
        "short": "2.0 SUBJECT",
        "definition": "2.0 SUBJECT",
        "comment": "Groups cannot have answers and therefore must nest directly within item. When dealing with questions, nesting must occur within each answer because some questions may have multiple answers (and the nesting occurs for each answer).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
          },
          {
            "key": "qrs-1",
            "severity": "error",
            "human": "Nested item can't be beneath both item and answer",
            "expression": "(answer.exists() and item.exists()).not()",
            "xpath": "not(exists(f:answer) and exists(f:item))",
            "source": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.id",
        "path": "QuestionnaireResponse.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.extension",
        "path": "QuestionnaireResponse.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.modifierExtension",
        "path": "QuestionnaireResponse.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.linkId",
        "path": "QuestionnaireResponse.item.linkId",
        "short": "SUBJECT",
        "definition": "SUBJECT",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "SUBJECT",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.definition",
        "path": "QuestionnaireResponse.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.text",
        "path": "QuestionnaireResponse.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n310",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.subject",
        "path": "QuestionnaireResponse.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.answer",
        "path": "QuestionnaireResponse.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.answer.id",
        "path": "QuestionnaireResponse.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.answer.extension",
        "path": "QuestionnaireResponse.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.answer.value[x]",
        "path": "QuestionnaireResponse.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.answer.item",
        "path": "QuestionnaireResponse.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item",
        "path": "QuestionnaireResponse.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "SUBJECT_RISK_FACTORS",
        "short": "2.1 SUBJECT_RISK_FACTORS",
        "definition": "2.1 SUBJECT_RISK_FACTORS",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.id",
        "path": "QuestionnaireResponse.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.extension",
        "path": "QuestionnaireResponse.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.modifierExtension",
        "path": "QuestionnaireResponse.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "SUBJECT_RISK_FACTORS",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.text",
        "path": "QuestionnaireResponse.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.answer.extension",
        "path": "QuestionnaireResponse.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.answer.item",
        "path": "QuestionnaireResponse.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item",
        "path": "QuestionnaireResponse.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "subjRiskFactors_riskFActors",
        "short": "2.1.1 subjRiskFactors_riskFActors",
        "definition": "2.1.1 subjRiskFactors_riskFActors",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "2.1.1 subjRiskFactors_riskFactors",
        "definition": "2.1.1 subjRiskFactors_riskFactors",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "subjRiskFactors_riskFactors",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Risk Factors",
        "definition": "Risk Factors",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\nTo be referenced for Risk Factors",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.value[x].reference",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].reference",
        "short": "riskAssessment",
        "definition": "riskAssessment",
        "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.reference",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "riskAssessment",
        "condition": [
          "ele-1",
          "ref-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.value[x].identifier",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].identifier",
        "short": "Logical reference, when literal reference is not known",
        "definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
        "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.identifier",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)"
          },
          {
            "identity": "rim",
            "map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]"
          },
          {
            "identity": "servd",
            "map": "Identifier"
          },
          {
            "identity": "rim",
            "map": ".identifier"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].display",
        "short": "Text alternative for the resource",
        "definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
        "comment": "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Reference.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "subjRiskFactors_recordType",
        "short": "2.1.2 subjRiskFactors_recordType",
        "definition": "2.1.2 subjRiskFactors_recordType",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.extension",
        "path": "QuestionnaireResponse.item.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "subjRiskFactors_recordType",
        "definition": "subjRiskFactors_recordType",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "subjRiskFactors_recordType",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.answer.extension",
        "path": "QuestionnaireResponse.item.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n38.5",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.answer.item",
        "path": "QuestionnaireResponse.item.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES",
        "path": "QuestionnaireResponse.item",
        "sliceName": "NOTES",
        "short": "3.0 NOTES",
        "definition": "3.0 NOTES",
        "comment": "Groups cannot have answers and therefore must nest directly within item. When dealing with questions, nesting must occur within each answer because some questions may have multiple answers (and the nesting occurs for each answer).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
          },
          {
            "key": "qrs-1",
            "severity": "error",
            "human": "Nested item can't be beneath both item and answer",
            "expression": "(answer.exists() and item.exists()).not()",
            "xpath": "not(exists(f:answer) and exists(f:item))",
            "source": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.id",
        "path": "QuestionnaireResponse.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.extension",
        "path": "QuestionnaireResponse.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.modifierExtension",
        "path": "QuestionnaireResponse.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.linkId",
        "path": "QuestionnaireResponse.item.linkId",
        "short": "3.0 NOTES",
        "definition": "3.0 NOTES",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "NOTES",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.definition",
        "path": "QuestionnaireResponse.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.text",
        "path": "QuestionnaireResponse.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.subject",
        "path": "QuestionnaireResponse.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.answer",
        "path": "QuestionnaireResponse.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.answer.id",
        "path": "QuestionnaireResponse.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.answer.extension",
        "path": "QuestionnaireResponse.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.answer.value[x]",
        "path": "QuestionnaireResponse.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "time"
          },
          {
            "code": "string"
          },
          {
            "code": "uri"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "Coding"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.answer.item",
        "path": "QuestionnaireResponse.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item",
        "path": "QuestionnaireResponse.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "notes_text",
        "short": "3.1 notes_text",
        "definition": "3.1 notes_text",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text.id",
        "path": "QuestionnaireResponse.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text.extension",
        "path": "QuestionnaireResponse.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text.modifierExtension",
        "path": "QuestionnaireResponse.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "3.1 notes_text",
        "definition": "3.1 notes_text",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "notes_text",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text.text",
        "path": "QuestionnaireResponse.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text.answer.extension",
        "path": "QuestionnaireResponse.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n314",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text.answer.item",
        "path": "QuestionnaireResponse.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text.item",
        "path": "QuestionnaireResponse.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "notes_id",
        "short": "3.2 notes_id",
        "definition": "3.2 notes_id",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id.id",
        "path": "QuestionnaireResponse.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id.extension",
        "path": "QuestionnaireResponse.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id.modifierExtension",
        "path": "QuestionnaireResponse.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "notes_id",
        "definition": "notes_id",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "notes_id",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id.text",
        "path": "QuestionnaireResponse.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id.answer.extension",
        "path": "QuestionnaireResponse.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n314.2",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id.answer.item",
        "path": "QuestionnaireResponse.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id.item",
        "path": "QuestionnaireResponse.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "notes_context",
        "short": "3.3 notes_context",
        "definition": "3.3 notes_context",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.id",
        "path": "QuestionnaireResponse.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.extension",
        "path": "QuestionnaireResponse.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.modifierExtension",
        "path": "QuestionnaireResponse.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory if data element (314) Note Text provided",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "notes_context",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.text",
        "path": "QuestionnaireResponse.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.answer.extension",
        "path": "QuestionnaireResponse.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n314.3",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.answer.item",
        "path": "QuestionnaireResponse.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.item",
        "path": "QuestionnaireResponse.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "notes_subjectLine",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine.id",
        "path": "QuestionnaireResponse.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine.extension",
        "path": "QuestionnaireResponse.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine.modifierExtension",
        "path": "QuestionnaireResponse.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory if data element 314 (Note Text) provided",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "notes_subjectLine",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine.text",
        "path": "QuestionnaireResponse.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine.answer.extension",
        "path": "QuestionnaireResponse.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n314.4",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine.answer.item",
        "path": "QuestionnaireResponse.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine.item",
        "path": "QuestionnaireResponse.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "notes_status",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.id",
        "path": "QuestionnaireResponse.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.extension",
        "path": "QuestionnaireResponse.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.modifierExtension",
        "path": "QuestionnaireResponse.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory if data element (314) Note Text provided",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "notes_status",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.text",
        "path": "QuestionnaireResponse.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.answer.extension",
        "path": "QuestionnaireResponse.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n314.5",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.answer.item",
        "path": "QuestionnaireResponse.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.item",
        "path": "QuestionnaireResponse.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "notes_date",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date.id",
        "path": "QuestionnaireResponse.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date.extension",
        "path": "QuestionnaireResponse.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date.modifierExtension",
        "path": "QuestionnaireResponse.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory if data element (314) Note Text provided\r\nNote Date: yyyy-mm-ddThh:mm:000000[Z|(+|-)hh:mm",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "notes_date",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date.text",
        "path": "QuestionnaireResponse.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date.answer.extension",
        "path": "QuestionnaireResponse.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n314.6",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date.answer.item",
        "path": "QuestionnaireResponse.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date.item",
        "path": "QuestionnaireResponse.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "notes_type",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.id",
        "path": "QuestionnaireResponse.item.item.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.extension",
        "path": "QuestionnaireResponse.item.item.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.modifierExtension",
        "path": "QuestionnaireResponse.item.item.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "Pointer to specific item from Questionnaire",
        "definition": "CM: Mandatory if data element (314.7) Note Text provided",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position may not exist - requiring correspondence by identifier.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.linkId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "notes_type",
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "short": "ElementDefinition - details for the item",
        "definition": "A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item.",
        "comment": "The ElementDefinition must be in a [StructureDefinition](structuredefinition.html) or a [DataElement](dataelement.html), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.",
        "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.definition",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.text",
        "path": "QuestionnaireResponse.item.item.text",
        "short": "Name for group or question text",
        "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Allows the questionnaire response to be read without access to the questionnaire.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.text",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".text"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "short": "The subject this group's answers are about",
        "definition": "More specific subject this section's answers are about, details the subject given in QuestionnaireResponse.",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
        "requirements": "Sometimes a group of answers is about a specific participant, artifact or piece of information in the patient's care or record, e.g. a specific Problem, RelatedPerson, Allergy etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.subject",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          },
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "expression": "reference.exists() implies (reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource))",
            "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Reference"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)"
          },
          {
            "identity": "rim",
            "map": ".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "short": "The response(s) to the question",
        "definition": "The respondent's answer(s) to the question.",
        "comment": "The value is nested because we cannot have a repeating structure that has variable type.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".value[type=LIST_ANY]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.answer.extension",
        "path": "QuestionnaireResponse.item.item.answer.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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.answer.modifierExtension",
        "path": "QuestionnaireResponse.item.item.answer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "short": "Single-valued answer to the question",
        "definition": "The answer (or one of the answers) provided by the respondent to the question.",
        "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions.",
        "requirements": "Ability to retain a single-valued answer to a question.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "QuestionnaireResponse.item.answer.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "QuestionnaireAnswer"
            }
          ],
          "strength": "example",
          "description": "Code indicating the response provided for a question."
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": ".item"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.answer.value[x].id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x].extension",
        "path": "QuestionnaireResponse.item.item.answer.value[x].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. In order to make the use of extensions safe and manageable, 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.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.answer.value[x].system",
        "short": "Identity of the terminology system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.",
        "requirements": "Need to be unambiguous about the source of the definition of the symbol.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.system",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.3"
          },
          {
            "identity": "rim",
            "map": "./codeSystem"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.answer.value[x].version",
        "short": "Version of the system - if relevant",
        "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.7"
          },
          {
            "identity": "rim",
            "map": "./codeSystemVersion"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.answer.value[x].code",
        "short": "Symbol in syntax defined by the system",
        "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n314.7",
        "requirements": "Need to refer to a particular code in the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.1"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x].display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.item.item.answer.value[x].display",
        "short": "Representation defined by the system",
        "definition": "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment": "Note that FHIR strings may not exceed 1MB in size",
        "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.display",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "C*E.2 - but note this is not well followed"
          },
          {
            "identity": "rim",
            "map": "CV.displayName"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.answer.value[x].userSelected",
        "short": "If this coding was chosen directly by the user",
        "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).",
        "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Coding.userSelected",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          },
          {
            "identity": "v2",
            "map": "Sometimes implied by being first"
          },
          {
            "identity": "rim",
            "map": "CD.codingRationale"
          },
          {
            "identity": "orim",
            "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.answer.item",
        "path": "QuestionnaireResponse.item.item.answer.item",
        "short": "Nested groups and questions",
        "definition": "Nested groups and/or questions found within this particular answer.",
        "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.answer.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.item",
        "path": "QuestionnaireResponse.item.item.item",
        "short": "Nested questionnaire response items",
        "definition": "Questions or sub-groups nested beneath a question or group.",
        "requirements": "Reports can consist of complex nested groups.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "QuestionnaireResponse.item.item",
          "min": 0,
          "max": "*"
        },
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item",
        "mapping": [
          {
            "identity": "rim",
            "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "QuestionnaireResponse.id",
        "path": "QuestionnaireResponse.id",
        "short": "GUID",
        "definition": "Unique GUID to identify each individual QuestionnaireResponse message",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.meta",
        "path": "QuestionnaireResponse.meta",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.implicitRules",
        "path": "QuestionnaireResponse.implicitRules",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.language",
        "path": "QuestionnaireResponse.language",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.text",
        "path": "QuestionnaireResponse.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.identifier",
        "path": "QuestionnaireResponse.identifier",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.basedOn",
        "path": "QuestionnaireResponse.basedOn",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.parent",
        "path": "QuestionnaireResponse.parent",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.questionnaire",
        "path": "QuestionnaireResponse.questionnaire",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.status",
        "path": "QuestionnaireResponse.status",
        "fixedCode": "completed"
      },
      {
        "id": "QuestionnaireResponse.subject",
        "path": "QuestionnaireResponse.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.context",
        "path": "QuestionnaireResponse.context",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.authored",
        "path": "QuestionnaireResponse.authored",
        "definition": "Timestamp of generating this QuestionnaireResponse message."
      },
      {
        "id": "QuestionnaireResponse.author",
        "path": "QuestionnaireResponse.author",
        "short": "Health Authority who received and recorded the answers",
        "definition": "Health Authority who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.",
        "comment": "none",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.author.identifier",
        "path": "QuestionnaireResponse.author.identifier",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.author.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.author.display",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.source",
        "path": "QuestionnaireResponse.source",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.source.identifier",
        "path": "QuestionnaireResponse.source.identifier",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.source.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "QuestionnaireResponse.source.display",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item",
        "path": "QuestionnaireResponse.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION",
        "path": "QuestionnaireResponse.item",
        "sliceName": "INVESTIGATION",
        "short": "1.0 INVESTIGATION",
        "definition": "1.0 INVESTIGATION",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.linkId",
        "path": "QuestionnaireResponse.item.linkId",
        "short": "linkId INVESTIGATION",
        "definition": "linkId INVESTIGATION",
        "fixedString": "INVESTIGATION"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.definition",
        "path": "QuestionnaireResponse.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.text",
        "path": "QuestionnaireResponse.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.subject",
        "path": "QuestionnaireResponse.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.answer",
        "path": "QuestionnaireResponse.item.answer",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item",
        "path": "QuestionnaireResponse.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "externalSystemType",
        "short": "1.1 investigation_externalSystemType",
        "definition": "1.1 investigation_externalSystemType",
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "linkId investigation_externalSystemType",
        "definition": "linkId investigation_externalSystemType",
        "fixedString": "investigation_externalSystemType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.text",
        "path": "QuestionnaireResponse.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.answer.value[x].id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n293",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemType.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "externalSystemCaseIdentifier",
        "short": "1.2 investigation_externalSystemCaseIdentifier",
        "definition": "1.2 investigation_externalSystemCaseIdentifier",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "linkId investigatioin_externalSystemCaseIdentifier",
        "definition": "linkId investigatioin_externalSystemCaseIdentifier",
        "fixedString": "investigatioin_externalSystemCaseIdentifier"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.text",
        "path": "QuestionnaireResponse.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.id",
        "path": "QuestionnaireResponse.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n293.1",
        "min": 1,
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:externalSystemCaseIdentifier.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.answer.value[x].id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "INVESTIGATIONDETAILS",
        "short": "1.3 INVESTIGATION_DETAILS",
        "definition": "1.3 INVESTIGATION_DETAILS",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "linkId INVESTIGATION_DETAILS",
        "definition": "linkId INVESTIGATION_DETAILS",
        "fixedString": "INVESTIGATION_DETAILS"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.definition",
        "path": "QuestionnaireResponse.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.text",
        "path": "QuestionnaireResponse.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.subject",
        "path": "QuestionnaireResponse.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.answer",
        "path": "QuestionnaireResponse.item.item.answer",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item",
        "path": "QuestionnaireResponse.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "InvestigationDetailsDiseaseSummary",
        "short": "1.3.1 investigationDetails_DiseaseSummary",
        "definition": "1.3.1 investigationDetails_DiseaseSummary",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkId investigationDetails_DiseaseSummary",
        "definition": "linkId investigationDetails_DiseaseSummary",
        "fixedString": "investigationDetails_DiseaseSummary"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_classification",
        "short": "1.3.1.1 invDetDiseaseSum_classification",
        "definition": "1.3.1.1 invDetDiseaseSum_classification",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_classification",
        "definition": "linkId invDetDiseaseSum_classification",
        "fixedString": "invDetDiseaseSum_classification"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n193",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classification.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_classificationGroup",
        "short": "1.3.1.2 invDetDiseaseSum_classificationGroup",
        "definition": "1.3.1.2 invDetDiseaseSum_classificationGroup",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_classificationGroup",
        "definition": "linkId invDetDiseaseSum_classificationGroup",
        "fixedString": "invDetDiseaseSum_classificationGroup"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n193.1",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationGroup.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_disease",
        "short": "invDetDiseaseSum_Disease",
        "definition": "invDetDiseaseSum_Disease",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_disease",
        "definition": "linkId invDetDiseaseSum_disease",
        "fixedString": "invDetDiseaseSum_disease"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n194"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_disease.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_authority",
        "short": "invDetDiseaseSum_authority",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_authority",
        "definition": "linkId invDetDiseaseSum_authority",
        "fixedString": "invDetDiseaseSum_authority"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n257",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n257"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_authority.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_furtherDifferentiation",
        "short": "invDetDiseaseSum_furtherDifferentiation",
        "definition": "invDetDiseaseSum_furtherDifferentiation",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_furtherDifferentiation",
        "definition": "linkId invDetDiseaseSum_furtherDifferentiation",
        "fixedString": "invDetDiseaseSum_furtherDifferentiation"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n264",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_furtherDifferentiation.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_classificationDate",
        "short": "invDetDiseaseSum_classificationDate",
        "definition": "invDetDiseaseSum_classificationDate",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_classificationDate",
        "definition": "linkId invDetDiseaseSum_classificationDate",
        "fixedString": "invDetDiseaseSum_classificationDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n265",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_classificationDate.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_stage",
        "short": "invDetDiseaseSum_stage",
        "definition": "invDetDiseaseSum_stage"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_stage",
        "definition": "linkId invDetDiseaseSum_stage",
        "fixedString": "invDetDiseaseSum_stage"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n194.2"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_stage.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_site",
        "short": "invDetDiseaseSum_site",
        "definition": "invDetDiseaseSum_site"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_site",
        "definition": "linkId invDetDiseaseSum_site",
        "fixedString": "invDetDiseaseSum_site"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n194.3",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n194.3"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_site.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_recordType",
        "short": "invDetDiseaseSum_recordType",
        "definition": "invDetDiseaseSum_recordType\r\nCM: Mandatory if Disease (194) provided",
        "comment": "CD_Mandate_Dataset_Specs Data Element ID: \r\n194.4"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetDiseaseSum_recordType",
        "definition": "linkId invDetDiseaseSum_recordType",
        "fixedString": "invDetDiseaseSum_recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n194.4",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n194.4"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_recordType.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_diseaseID",
        "short": "Disease ID",
        "definition": "Mandatory if data element (194) Disease provided",
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Disease ID",
        "definition": "CM: Mandatory if data element (194) Disease provided\r\nDisease ID",
        "comment": "none",
        "fixedString": "invDetDiseaseSum_diseaseID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n194.6",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_diseaseID.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtMicroOrg",
        "short": "MicroOrganism",
        "definition": "MicroOrganism"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtMicroOrg",
        "definition": "MicroOrganism",
        "comment": "none",
        "fixedString": "invDetDiseaseSum_etioAgtMicroOrg"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtMicroOrg.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtTaxoR1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID Taxonomy Rank 1",
        "definition": "linkID Taxonomy Rank 1",
        "comment": "none",
        "fixedString": "invDetDiseaseSum_etioAgtTaxoR1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315.1",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315.1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR1.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtTaxoR2"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtTaxoR2",
        "definition": "linkID invDetDiseaseSum_etioAgtTaxoR2",
        "fixedString": "invDetDiseaseSum_etioAgtTaxoR2"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315.2"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR2.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtTaxoR3",
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtTaxoR3",
        "definition": "linkID invDetDiseaseSum_etioAgtTaxoR3",
        "fixedString": "invDetDiseaseSum_etioAgtTaxoR3"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315.3"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR3.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtTaxoR4"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtTaxoR4",
        "definition": "linkID invDetDiseaseSum_etioAgtTaxoR4",
        "fixedString": "invDetDiseaseSum_etioAgtTaxoR4"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315.4"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR4.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtTaxoR5"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtTaxoR5",
        "definition": "linkId invDetDiseaseSum_etioAgtTaxoR5",
        "fixedString": "invDetDiseaseSum_etioAgtTaxoR5"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315.5"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR5.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtTaxoR6",
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "short": "linkID invDetDiseaseSum_etioAgtTaxoR6",
        "definition": "linkID invDetDiseaseSum_etioAgtTaxoR6",
        "max": "0",
        "fixedString": "invDetDiseaseSum_etioAgtTaxoR6"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n315.6"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtTaxoR6.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtEPImarker"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtEPImarker",
        "definition": "linkID invDetDiseaseSum_etioAgtEPImarker",
        "fixedString": "invDetDiseaseSum_etioAgtEPImarker"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtEPImarkName"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtEPImarkName",
        "definition": "linkID invDetDiseaseSum_etioAgtEPImarkName",
        "fixedString": "invDetDiseaseSum_etioAgtEPImarkName"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n316"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkName.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtEPImarkValue"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtEPImarkValue",
        "definition": "linkId invDetDiseaseSum_etioAgtEPImarkValue",
        "fixedString": "invDetDiseaseSum_etioAgtEPImarkValue"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.definition",
        "path": "QuestionnaireResponse.item.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.text",
        "path": "QuestionnaireResponse.item.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.subject",
        "path": "QuestionnaireResponse.item.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkValue.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n316.1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtEPImarkOvr"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtEPImarkOvr",
        "definition": "linkID invDetDiseaseSum_etioAgtEPImarkOvr",
        "fixedString": "invDetDiseaseSum_etioAgtEPImarkOvr"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtEPImarkOvr.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n316.2",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtInfoSource"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtInfoSource",
        "definition": "The item from the linkID invDetDiseaseSum_etioAgtInfoSource",
        "fixedString": "invDetDiseaseSum_etioAgtInfoSource"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtInfoSource.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n315.7"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "invDetDiseaseSum_etioAgtLabResultInd"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkID invDetDiseaseSum_etioAgtLabResultInd",
        "definition": "linkID invDetDiseaseSum_etioAgtLabResultInd",
        "fixedString": "invDetDiseaseSum_etioAgtLabResultInd"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetailsDiseaseSummary.item:invDetDiseaseSum_etioAgtEPImarker.item:invDetDiseaseSum_etioAgtLabResultInd.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n194.5",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "InvestigationDetails_InvestigationInformation",
        "short": "1.3.2 InvestigationDetails_InvestigationInformation",
        "definition": "1.3.2 InvestigationDetails_InvestigationInformation",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkId InvestigationDetails_InvestigationInformation",
        "definition": "linkId InvestigationDetails_InvestigationInformation",
        "fixedString": "InvestigationDetails_InvestigationInformation"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.answer.id",
        "path": "QuestionnaireResponse.item.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetInvInfo_clientHomeAddressInitialInvestigation",
        "short": "invDetInvInfo_clientHomeAddressInitialInvestigation",
        "definition": "invDetInvInfo_clientHomeAddressInitialInvestigation\r\nTo be derived by API service based on current address of investigation; HAs do not send this info.",
        "comment": "CD_Mandate_Dataset_Specs Data Element ID: \r\n296",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_clientHomeAddressInitialInvestigation.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n298",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetInvInfo_status",
        "short": "invDetInvInfo_status",
        "definition": "invDetInvInfo_status",
        "comment": "CD_Mandate_Dataset_Specs Data Element ID: \r\n313",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n313"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_status.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetInvInfo_statusDate",
        "short": "invDetInvInfo_statusDate",
        "definition": "invDetInvInfo_statusDate",
        "comment": "CD_Mandate_Dataset_Specs Data Element ID: \r\n313.1",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n313.1",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetInvInfo_statusDate.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetDiseaseSum_investigationDiagnosisComment",
        "short": "invDetDiseaseSum_investigationDiagnosisComment",
        "definition": "invDetDiseaseSum_investigationDiagnosisComment",
        "comment": "CD_Mandate_Dataset_Specs Data Element ID: \r\n194.1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n194.1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_InvestigationInformation.item:invDetDiseaseSum_investigationDiagnosisComment.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "InvestigationDetails_RespOrganizationInvestigator",
        "short": "1.3.3. InvestigationDetails_RespOrganizationInvestigator",
        "definition": "1.3.3. InvestigationDetails_RespOrganizationInvestigator",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.id",
        "path": "QuestionnaireResponse.item.item.item.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkID InvestigationDetails_RespOrganizationInvestigator",
        "definition": "linkID InvestigationDetails_RespOrganizationInvestigator"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        },
        "short": "invDetRespOrgInv_responsibleOrganization",
        "definition": "invDetRespOrgInv_responsibleOrganization",
        "comment": "CD_Mandate_Dataset_Specs Data Element ID: \r\n99",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRespOrgInv_responsibleOrganization",
        "short": "invDetRespOrgInv_responsibleOrganization",
        "definition": "invDetRespOrgInv_responsibleOrganization",
        "comment": "CD_Mandate_Dataset_Specs Data Element ID: \r\n99",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetRespOrgInv_responsibleOrganization",
        "definition": "linkID invDetRespOrgInv_responsibleOrganization",
        "fixedString": "invDetRespOrgInv_responsibleOrganization"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n99"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganization.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRespOrgInv_responsibleOrganizationWorkgroup",
        "short": "invDetRespOrgInv_responsibleOrganizationWorkgroup",
        "definition": "invDetRespOrgInv_responsibleOrganizationWorkgroup",
        "comment": "CD_Mandate_Dataset_Specs Data Element ID: \r\n99.3",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetRespOrgInv_responsibleOrganizationWorkgroup",
        "definition": "linkID invDetRespOrgInv_responsibleOrganizationWorkgroup",
        "fixedString": "invDetRespOrgInv_responsibleOrganizationWorkgroup"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].id",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].system",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].system",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].version",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n99.3"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationWorkgroup.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRespOrgInv_responsibleOrganizationDate",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetRespOrgInv_responsibleOrganizationDate",
        "definition": "linkID invDetRespOrgInv_responsibleOrganizationDate",
        "fixedString": "invDetRespOrgInv_responsibleOrganizationDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_responsibleOrganizationDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n99.4",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRespOrgInv_investigatorOrganization",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetRespOrgInv_investigatorOrganization",
        "definition": "linkID invDetRespOrgInv_investigatorOrganization",
        "fixedString": "invDetRespOrgInv_investigatorOrganization"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.answer",
        "path": "QuestionnaireResponse.item.item.item.item.answer",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorOrganization.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n99.5",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRespOrgInv_investigatorWorkgroup",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetRespOrgInv_investigatorWorkgroup",
        "definition": "linkId invDetRespOrgInv_investigatorWorkgroup",
        "fixedString": "invDetRespOrgInv_investigatorWorkgroup"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorWorkgroup.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n99.6"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRespOrgInv_investigatorAssignedDate",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetRespOrgInv_investigatorAssignedDate",
        "definition": "linkID invDetRespOrgInv_investigatorAssignedDate",
        "fixedString": "invDetRespOrgInv_investigatorAssignedDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_investigatorAssignedDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n99.7",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRespOrgInv_recordType",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkID invDetRespOrgInv_recordType",
        "definition": "linkID invDetRespOrgInv_recordType",
        "fixedString": "invDetRespOrgInv_recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_RespOrganizationInvestigator.item:invDetRespOrgInv_recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n99.8"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "InvestigationDetails_ReportingNotifications",
        "short": "1.3.4 InvestigationDetails_ReportingNotifications",
        "definition": "1.3.4 InvestigationDetails_ReportingNotifications",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkID InvestigationDetails_ReportingNotifications",
        "definition": "linkID InvestigationDetails_ReportingNotifications",
        "fixedString": "InvestigationDetails_ReportingNotifications"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.definition",
        "path": "QuestionnaireResponse.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.text",
        "path": "QuestionnaireResponse.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.subject",
        "path": "QuestionnaireResponse.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.answer",
        "path": "QuestionnaireResponse.item.item.item.answer",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRepNotif_reportingSentDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.id",
        "path": "QuestionnaireResponse.item.item.item.item.id",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetRepNotif_reportingSentDate",
        "definition": "linkId invDetRepNotif_reportingSentDate",
        "fixedString": "invDetRepNotif_reportingSentDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.definition",
        "path": "QuestionnaireResponse.item.item.item.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.text",
        "path": "QuestionnaireResponse.item.item.item.item.text",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.subject",
        "path": "QuestionnaireResponse.item.item.item.item.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingSentDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n104.4",
        "min": 1,
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRepNotif_reportingReceivedDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetRepNotif_reportingReceivedDate",
        "definition": "linkId invDetRepNotif_reportingReceivedDate",
        "fixedString": "invDetRepNotif_reportingReceivedDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_reportingReceivedDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n104",
        "min": 1,
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRepNotif_provider"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetRepNotif_provider",
        "definition": "CM: Mandatory if either data element (104.2) or (104.3) or Reporting Provider has to be provided\r\nlinkId invDetRepNotif_provider",
        "fixedString": "invDetRepNotif_provider"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "definition": "CM: Mandatory if either data element (104.2) or (104.3) or Reporting Provider has to be provided",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_provider.answer.value[x].reference",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].reference",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:  \r\nTo be referenced for Reporting Provider",
        "fixedString": "Practitioner"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRepNotif_providerFacility"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkIdinvDetRepNotif_providerFacility",
        "definition": "linkId invDetRepNotif_providerFacility",
        "fixedString": "invDetRepNotif_providerFacility"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerFacility.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:  178",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRepNotif_providerReportingSourceLocation"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetRepNotif_providerReportingSourceLocation",
        "definition": "CM: Mandatory if either data element (104.2) or (104.3) or Reporting Provider has to be provided\r\nlinkId invDetRepNotif_providerReportingSourceOther",
        "fixedString": "invDetRepNotif_providerReportingSourceLocation"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "definition": "CM: Mandatory if either data element (104.2) or (104.3) or Reporting Provider has to be provided",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceLocation.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n104.2"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRepNotif_providerReportingSourceOther"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetRepNotif_providerReportingSourceOther",
        "definition": "linkId invDetRepNotif_providerReportingSourceOther",
        "fixedString": "invDetRepNotif_providerReportingSourceOther"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerReportingSourceOther.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n104.3",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRepNotif_providerStreetAddress",
        "short": "invDetRepNotif_providerStreetAddress",
        "definition": "invDetRepNotif_providerStreetAddress"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "invDetRepNotif_providerStreetAddress",
        "definition": "invDetRepNotif_providerStreetAddress",
        "fixedString": "invDetRepNotif_providerStreetAddress"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_providerStreetAddress.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n178.1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "invDetRepNotif_recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId invDetRepNotif_recordType",
        "definition": "linkId invDetRepNotif_recordType",
        "fixedString": "invDetRepNotif_recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_ReportingNotifications.item:invDetRepNotif_recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n167.3"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "InvestigationDetails_UDF",
        "short": "1.3.5 InvestigationDetails_UDF",
        "definition": "1.3.5 InvestigationDetails_UDF"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkId InvestigationDetails_UDF",
        "definition": "linkId InvestigationDetails_UDF",
        "fixedString": "InvestigationDetails_UDF"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "UDF_snomedCodeOfDisease1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId UDF_snomedCodeOfDisease1",
        "definition": "UDF_snomedCodeOfDisease1\r\ne.g. UDF_397428000 for Diphtheria"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "UDF_questionKeyword1Disease1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkId UDF_questionKeyword1Disease1",
        "definition": "linkId UDF_questionKeyword1Disease1\r\ne.g. UDF_admission_date"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword1Disease1.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "UDF_questionKeyword2Disease1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkId UDF_questionKeyword2Disease1",
        "definition": "linkId UDF_questionKeyword2Disease1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedCodeOfDisease1.item:UDF_questionKeyword2Disease1.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "UDF_snomedcodeOfDisease2"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "linkId UDF_snomedcodeOfDisease2",
        "definition": "linkID UDF_snomedcodeOfDisease2\r\ne.g. UDF_56717001 for Tuberculosis"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "UDF_questionKeyword1Disease2"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkId UDF_questionKeyword1Disease2",
        "definition": "linkId UDF_questionKeyword1Disease2\r\ne.g. UDF_admitted_to_hospital"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword1Disease2.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "UDF_questionKeyword2Disease2"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "linkId UDF_questionKeyword2Disease2",
        "definition": "linkId UDF_questionKeyword2Disease2\r\ne.g. UDF_name_of_hospital_for_admission"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INVESTIGATIONDETAILS.item:InvestigationDetails_UDF.item:UDF_snomedcodeOfDisease2.item:UDF_questionKeyword2Disease2.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "boolean"
          },
          {
            "code": "decimal"
          },
          {
            "code": "integer"
          },
          {
            "code": "date"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "LAB",
        "short": "1.4 LAB",
        "definition": "1.4 LAB",
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "linkId LAB",
        "definition": "linkId LAB",
        "fixedString": "LAB"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item",
        "path": "QuestionnaireResponse.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "lab_diagnosticReport"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkId lab_idagnosticReport",
        "definition": "linkId lab_idagnosticReport",
        "fixedString": "lab_idagnosticReport"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_diagnosticReport.answer.value[x].reference",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].reference",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\nTo be referenced for Lab Test and Result",
        "fixedString": "DiagnosticReport"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "lab_phReceivedDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkId lab_phReceivedDate",
        "definition": "linkId lab_phReceivedDate",
        "fixedString": "lab_phReceivedDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:lab_phReceivedDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n294",
        "min": 1,
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "labRpt_recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkId labRpt_recordType",
        "definition": "linkId labRpt_recordType",
        "fixedString": "labRpt_recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:LAB.item:labRpt_recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "definition": "CM: Mandatory if data element (30.1) Lab Result Name provided",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n14.1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "SIGNS_SYMPTOMS",
        "short": "1.5 SIGNS_SYMPTOMS",
        "definition": "1.5 SIGNS_SYMPTOMS",
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "linkID SIGNS_SYMPTOMS",
        "definition": "linkId SIGNS_SYMPTOMS",
        "fixedString": "SIGNS_SYMPTOMS"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item",
        "path": "QuestionnaireResponse.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_onsetFlag"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "linkId signSymp_onsetFlag",
        "fixedString": "signSymp_onsetFlag"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetFlag.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n48",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_onsetDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "linkId signSymp_onsetDate",
        "definition": "CM: Mandatory if data element (48) Onset Flag=\"y\"\r\nlinkId signSymp_onsetDate",
        "fixedString": "signSymp_onsetDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_onsetDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n49",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_recoveryTime"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "fixedString": "signSymp_recoveryTime"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTime.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n49.1",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_recoveryTimeEstimatedIndicator"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "fixedString": "signSymp_recoveryTimeEstimatedIndicator"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recoveryTimeEstimatedIndicator.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n49.2",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_duration"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "fixedString": "signSymp_duration"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_duration.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n49.3",
        "type": [
          {
            "code": "integer"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_signsSymptoms"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "fixedString": "signSymp_signsSymptoms"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptoms.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n56"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_symptomID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "CM: Mandaotyr if data element (56) Sign Symptoms provided\r\nsignSymp_symptomID",
        "fixedString": "signSymp_symptomID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_symptomID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n56.1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_dateOnsetEstimatedIndicator"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "fixedString": "signSymp_dateOnsetEstimatedIndicator"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_dateOnsetEstimatedIndicator.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n258",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_otherSignsSymptoms"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "CM: Mandaotyr if data element (56) Sign Symptoms =\"Other\"\r\nlinkId signSymp_otherSignsSymptoms",
        "fixedString": "signSymp_otherSignsSymptoms"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_otherSignsSymptoms.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n259",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_signsSymptomsResponse"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "CM: Mandatoryf data element (56) provided",
        "fixedString": "signSymp_signsSymptomsResponse"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_signsSymptomsResponse.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n260",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "signSymp_recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "CM: Mandaotyr if data element (56) Signs Symptoms provided",
        "fixedString": "signSymp_recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:SIGNS_SYMPTOMS.item:signSymp_recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n56.2"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "COMPLICATIONS",
        "short": "1.6 COMPLICATIONS",
        "definition": "1.6 COMPLICATIONS",
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "fixedString": "COMPLICATIONS"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item",
        "path": "QuestionnaireResponse.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "cmpl_complication"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "cmpl_complication",
        "definition": "cmpl_complication",
        "fixedString": "cmpl_complication"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complication.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n296"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "cmpl_complicationDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "fixedString": "cmpl_complicationDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n296.1",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "cmpl_reportedBy"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "fixedString": "cmpl_reportedBy"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_reportedBy.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n296.2"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "cmpl_response"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "CM: Mandatory if data element (296) Complication provided",
        "fixedString": "cmpl_response"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_response.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n296.3",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "cmpl_otherComplication"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "CM: Mandatory if data element (296) Complication=\"Other\"",
        "fixedString": "cmpl_otherComplication"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_otherComplication.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n296.4",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "cmpl_encounterID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Other Complication",
        "definition": "CM: Mandatory if data element (296) Compliation provided \r\nOther Complication",
        "fixedString": "cmpl_encounterID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_encounterID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n296.5",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "cmpl_complicationID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Complication ID",
        "definition": "CM: Mandatory if data element (296) Complication provided",
        "fixedString": "cmpl_complicationID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_complicationID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n296.7",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "cmpl_recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "cmpl_recordType",
        "definition": "CM: Mandatory if data element (296) Complication provided",
        "fixedString": "cmpl_recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:COMPLICATIONS.item:cmpl_recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n296.6"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "OUTCOMES",
        "short": "1.7 OUTCOMES",
        "definition": "1.7 OUTCOMES",
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "fixedString": "OUTCOMES"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item",
        "path": "QuestionnaireResponse.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "outC_outcomeDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Outcome Date",
        "definition": "CM: Mandatory if data element (155) Outcome =\"Fatal\"",
        "fixedString": "outC_outcomeDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n149",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "outC_specifyOutcome"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "CM: Mandatory if 155) Outcome =\"Other\"",
        "fixedString": "outC_specifyOutcome"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_specifyOutcome.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n153",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "outC_outcomeCauseOfDeath"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "CM: Mandatory if data element (155) Outcome = \"Fatal\"",
        "fixedString": "outC_outcomeCauseOfDeath"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeCauseOfDeath.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n154"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "outC_causeOfDeathComments"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Cause of Death Comments",
        "definition": "Cause of Death Comments",
        "fixedString": "outC_causeOfDeathComments"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathComments.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n154.2",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "outC_causeOfDeathOtherText"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Cause of Death - Other text",
        "definition": "CM: Mandatory if data element (154) Outcome - Cause of Death is provided",
        "fixedString": "outC_causeOfDeathOtherText"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_causeOfDeathOtherText.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n154.1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "outC_outcomeComments"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "Outcome Comments",
        "definition": "Outcome Comments",
        "fixedString": "outC_outcomeComments"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcomeComments.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n155.1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "outC_outcome"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "Outcome",
        "fixedString": "outC_outcome"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_outcome.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n155",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "outC_recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "CM: Mandatory if data element (155) Outcome provided\r\nRecord Type - Outcome",
        "fixedString": "outC_recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:OUTCOMES.item:outC_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n155.2",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "INTERVENTIONS",
        "short": "1.8 INTERVENTIONS",
        "definition": "1.8 INTERVENTIONS",
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "fixedString": "INTERVENTIONS"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item",
        "path": "QuestionnaireResponse.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_interventionType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "Intervention Type",
        "fixedString": "intrvnt_interventionType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_interventionSubtype"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "CM: Mandatory if data element (73) Intervention Type provided\r\nIntervention SubType",
        "fixedString": "intrvnt_interventionSubtype"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionSubtype.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73.1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_interventionDisposition"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "fixedString": "intrvnt_interventionDisposition"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionDisposition.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73.6"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_startDateOfIntervention"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "CM: Mandatory if data element (73) Intervention Type provided\r\nStart Date of Intervention",
        "fixedString": "intrvnt_startDateOfIntervention"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_startDateOfIntervention.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73.2",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_endDateOfIntervention"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "fixedString": "intrvnt_endDateOfIntervention"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_endDateOfIntervention.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73.3",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_organization"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "CM: Mandatory if data element (73) Intervention Type provided",
        "fixedString": "intrvnt_organization"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_organization.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73.4"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_serviceDeliveryLocation"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "CM: Mandatory if data element (73) Intervention Type provided",
        "fixedString": "intrvnt_serviceDeliveryLocation"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_serviceDeliveryLocation.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73.5"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_interventionOutcome"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "CM: Mandatory if data element (73) Intervention Type provided",
        "fixedString": "intrvnt_interventionOutcome"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionOutcome.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n74.1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_details"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "fixedString": "intrvnt_details"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_details.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n75",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_interventionID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "CM: Mandatory if data element (73) Intervention Type provided",
        "fixedString": "intrvnt_interventionID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_interventionID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73.8",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "intrvnt_recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "definition": "CM: Mandatory if data element (73) Intervention Type provided",
        "fixedString": "intrvnt_recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:INTERVENTIONS.item:intrvnt_recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n73.7"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "EXPOSURE_SUMMARY",
        "short": "1.9 EXPOSURE_SUMMARY",
        "definition": "1.9 EXPOSURE_SUMMARY",
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item",
        "path": "QuestionnaireResponse.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "expoSum_TE",
        "short": "1.9.1 expoSum_TE",
        "definition": "1.9.1 expoSum_TE"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_linkID",
        "short": "1.9.1.1 expoSumTE_linkID",
        "definition": "1.9.1.1 expoSumTE_linkID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "TE Link ID (TE)",
        "definition": "Mandatory to create Acquisition Event",
        "fixedString": "expoSumTE_linkID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_linkID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n185.2",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_id"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "TE ID (TE)",
        "definition": "Mandatory to create Transmission Event",
        "fixedString": "expoSumTE_id"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_id.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n185.3",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_exposureName",
        "short": "expoSumTE_exposureName",
        "definition": "expoSumTE_exposureName"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Exposure Name (TE)",
        "definition": "Mandatory to create Tranmission Event",
        "fixedString": "expoSumTE_exposureName"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureName.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n185.1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_transmissionStartDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "fixedString": "expoSumTE_transmissionStartDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_transmissionStartDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n185",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_exposureLocationNameAddress"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "fixedString": "expoSumTE_exposureLocationNameAddress"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureLocationNameAddress.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n187",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_modeOfTransmission"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "fixedString": "expoSumTE_modeOfTransmission"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_modeOfTransmission.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n305"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_natureOfTransmission"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "fixedString": "expoSumTE_natureOfTransmission"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_natureOfTransmission.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n305.1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_exposureSetting"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "fixedString": "expoSumTE_exposureSetting"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_exposureSetting.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n186"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE__recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "fixedString": "expoSumTE__recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE__recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n185.4"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumTE_Contact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "fixedString": "expoSumTE_Contact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumTEContact_anonymousContact",
        "short": "1.9.1.10.1 expoSumTEContact_anonymousContact",
        "definition": "1.9.1.10.1 expoSumTEContact_anonymousContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "Anonymous Contacts",
        "definition": "Anonymous Contacts",
        "fixedString": "expoSumTEContact_anonymousContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n304",
        "type": [
          {
            "code": "integer"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumTEContact_anonymousContactDetails"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_anonymousContactDetails"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_anonymousContactDetails.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n304.1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumTEContact_RpGp58"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "short": "1.9.1.10.3 expoSumTEContact_RpGp58",
        "definition": "1.9.1.10.3 expoSumTEContact_RpGp58\r\nRepeating Group #58",
        "fixedString": "expoSumTEContact_RpGp#58"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_indeterminateContactClientInd",
        "short": "1.9.1.10.3.1 expoSumTEContact_indeterminateContactClientInd",
        "definition": "1.9.1.10.3.1 expoSumTEContact_indeterminateContactClientInd"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Indeterminate Contact Client Indicator",
        "definition": "CM: Mandatory for contact record to be created.  Defaults to \"N\".\r\nIndeterminate Contact Client Indicator",
        "fixedString": "expoSumTEContact_indeterminateContactClientInd"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_indeterminateContactClientInd.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n299.4",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_contactTEID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_contactTEID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_contactTEID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n299.6",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_lastNameContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_lastNameContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_lastNameContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n299",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_firstNameContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_firstNameContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_firstNameContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n299.1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_doBContact",
        "short": "expoSumTEContact_doBContact",
        "definition": "expoSumTEContact_doBContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "DoB (Contact TE)",
        "definition": "DoB (Contact TE)",
        "fixedString": "expoSumTEContact_doBContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_doBContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "short": "DoB (Contact TE)",
        "definition": "CM: Mandatory for contact record to be created unless data element 299.4=\"Y\"",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n299.2",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_genderContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "expoSumTEContact_genderContact",
        "definition": "CM: Mandatory for contact record to be created unless data element 299.4=\"Y\"",
        "fixedString": "expoSumTEContact_genderContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_genderContact.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n299.3"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_healthRegionInfoContact",
        "short": "expoSumTEContact_healthRegionInfoContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Health Region Information (Contact TE)",
        "definition": "CM: Mandatory for contact record to be created unless 299.4=\"Y\"",
        "fixedString": "expoSumTEContact_healthRegionInfoContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_healthRegionInfoContact.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code",
        "short": "Health Region Information (Contact TE)",
        "definition": "CM: Mandatory for contact record to be created unless data element 299.4=\"Y\"",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n300"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_typeOfContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "expoSumTEContact_typeOfContact",
        "definition": "Type of Contact (Contact TE)",
        "fixedString": "expoSumTEContact_typeOfContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_typeOfContact.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n131"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_earliestContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Earliest Contact (Contact TE)",
        "definition": "Earliest Contact (Contact TE)",
        "fixedString": "expoSumTEContact_earliestContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_earliestContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n132",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_mostRecentContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Most Recent Contact (Contact TE)",
        "definition": "Most Recent Contact (Contact TE)",
        "fixedString": "expoSumTEContact_mostRecentContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_mostRecentContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n133",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_otherDetailsContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "short": "Other Details (Contact TE)",
        "definition": "Other Details (Contact TE)",
        "fixedString": "expoSumTEContact_otherDetailsContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContact_otherDetailsContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n134",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContactRpGp58__recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContactRpGp58__recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp58.item:expoSumTEContactRpGp58__recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n299.5"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumTEContact_RpGp3"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_RpGp#3"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_postExpProphylaxisMMR_OutOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_postExpProphylaxisMMR_OutOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpProphylaxisMMR_OutOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n136",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_mmrDate_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_mmrDate_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_mmrDate_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n136.1",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_igCC_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_igCC_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igCC_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n136.2",
        "type": [
          {
            "code": "integer"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_igDate_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_igDate_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_igDate_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n136.3",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_postExpoProphylaxisIG_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_postExpoProphylaxisIG_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_postExpoProphylaxisIG_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n136.4",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_contactName_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_contactName_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactName_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n287",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_unknownContactID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_unknownContactID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_unknownContactID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n287.4",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_disposition_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_disposition_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_disposition_outOfBC.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n287.1"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_dispositionDetails_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_dispositionDetails_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_dispositionDetails_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n287.2",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_contactDetails_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_contactDetails_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDetails_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n288",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_contactInfos_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_contactInfos_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactInfos_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n289",
        "type": [
          {
            "code": "integer"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_susceptibliity_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_susceptibliity_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_susceptibliity_outOfBC.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n135"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_contactDateEarliest_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_contactDateEarliest_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateEarliest_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n136.5",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContact_contactDateMostRecent_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContact_contactDateMostRecent_outOfBC"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContact_contactDateMostRecent_outOfBC.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n136.6",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType",
        "path": "QuestionnaireResponse.item.item.item.item.item.item",
        "sliceName": "expoSumTEContactRpGp3__recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.linkId",
        "fixedString": "expoSumTEContactRpGp3__recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_TE.item:expoSumTE_Contact.item:expoSumTEContact_RpGp3.item:expoSumTEContactRpGp3__recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID:\r\n287.3"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "expoSum_AE",
        "short": "1.9.2 expoSum_AE",
        "definition": "1.9.2 expoSum_AE"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "fixedString": "expoSum_AE"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item",
        "path": "QuestionnaireResponse.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_linkID",
        "short": "1.9.2.1 expoSumAE_linkID",
        "definition": "1.9.2.1 expoSumAE_linkID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "AE Link ID (AE)",
        "definition": "CM: Mandatory to link Transmission Event",
        "fixedString": "expoSumAE_linkID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_linkID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "definition": "CM: Mandatory to link Transmission Event",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n301.2",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_id"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "definition": "CM: Mandatory to create Acquisition Event",
        "fixedString": "expoSumAE_id"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_id.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "definition": "CM: Mandatory to create Acquisition Event",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n301.3",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_exposureName"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "definition": "CM: Mandatory to create Acquisition Event",
        "fixedString": "expoSumAE_exposureName"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureName.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n301.1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_acquisitionStartDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "definition": "CM: Mandatory to create Acquisition Event",
        "fixedString": "expoSumAE_acquisitionStartDate"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_acquisitionStartDate.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n301",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_exposureLocationNameAddress"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "fixedString": "expoSumAE_exposureLocationNameAddress"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureLocationNameAddress.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n303",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_modeOfAcquisition"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "fixedString": "expoSumAE_modeOfAcquisition"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_modeOfAcquisition.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n301.5"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_natureOfAcquisition"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "fixedString": "expoSumAE_natureOfAcquisition"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_natureOfAcquisition.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n301.6",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_exposureSetting"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "fixedString": "expoSumAE_exposureSetting"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_exposureSetting.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n302",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE__recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "definition": "CM: Mandatory to create Acquisition Event",
        "fixedString": "expoSumAE__recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE__recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n301.4",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7",
        "path": "QuestionnaireResponse.item.item.item.item",
        "sliceName": "expoSumAE_RpGp7",
        "short": "1.9.2.10 expoSumAE_RpGp7",
        "definition": "1.9.2.10 expoSumAE_RpGp7"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.linkId",
        "short": "Repeating Group 7",
        "definition": "Repeating Group 7",
        "fixedString": "expoSumAE_RpGp7"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_indeterminateContactClientInd",
        "short": "1.9.2.10.1 expoSumAE_indeterminateContactClientInd",
        "definition": "1.9.2.10.1 expoSumAE_indeterminateContactClientInd"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "fixedString": "expoSumAE_indeterminateContactClientInd"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_indeterminateContactClientInd.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n307.4",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_lastNameContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "definition": "CM: Mandatory for contact record to be created",
        "fixedString": "expoSumAE_lastNameContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_lastNameContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n307",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_firstNameContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "definition": "CM: Mandatory for contact record to be created",
        "fixedString": "expoSumAE_firstNameContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_firstNameContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_dobContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "definition": "CM: Mandatory for contact record to be created unless data element 307.4=\"Y\"",
        "fixedString": "expoSumAE_dobContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_dobContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n307.2",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_genderContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "definition": "CM: Mandatory for contact record to be created unless data element 307.4=\"Y\"",
        "fixedString": "expoSumAE_genderContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_genderContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n307.3",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_healthRegionInfoContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "definition": "CM: Mandatory for contact record to be created unless data element 307.4=\"Y\"",
        "fixedString": "expoSumAE_healthRegionInfoContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_healthRegionInfoContact.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n308"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_typeOfContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "fixedString": "expoSumAE_typeOfContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_typeOfContact.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n309"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_earliestContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "fixedString": "expoSumAE_earliestContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_earliestContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_mostRecentContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "fixedString": "expoSumAE_mostRecentContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_mostRecentContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n311",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_otherDetailsContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "fixedString": "expoSumAE_otherDetailsContact"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_otherDetailsContact.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n312",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAE_contactAEID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "fixedString": "expoSumAE_contactAEID"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAE_contactAEID.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n307.6",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType",
        "path": "QuestionnaireResponse.item.item.item.item.item",
        "sliceName": "expoSumAERpGp7__recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.item.item.linkId",
        "fixedString": "expoSumAERpGp7__recordType"
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:INVESTIGATION.item:EXPOSURE_SUMMARY.item:expoSum_AE.item:expoSumAE_RpGp7.item:expoSumAERpGp7__recordType.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.item.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n307.5"
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT",
        "path": "QuestionnaireResponse.item",
        "sliceName": "SUBJECT",
        "short": "2.0 SUBJECT",
        "definition": "2.0 SUBJECT"
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.linkId",
        "path": "QuestionnaireResponse.item.linkId",
        "short": "SUBJECT",
        "definition": "SUBJECT",
        "fixedString": "SUBJECT"
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.text",
        "path": "QuestionnaireResponse.item.text",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n310"
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item",
        "path": "QuestionnaireResponse.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "SUBJECT_RISK_FACTORS",
        "short": "2.1 SUBJECT_RISK_FACTORS",
        "definition": "2.1 SUBJECT_RISK_FACTORS"
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "fixedString": "SUBJECT_RISK_FACTORS"
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item",
        "path": "QuestionnaireResponse.item.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "subjRiskFactors_riskFActors",
        "short": "2.1.1 subjRiskFactors_riskFActors",
        "definition": "2.1.1 subjRiskFactors_riskFActors"
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "2.1.1 subjRiskFactors_riskFactors",
        "definition": "2.1.1 subjRiskFactors_riskFactors",
        "fixedString": "subjRiskFactors_riskFactors"
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "short": "Risk Factors",
        "definition": "Risk Factors",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\nTo be referenced for Risk Factors",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_riskFActors.answer.value[x].reference",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x].reference",
        "short": "riskAssessment",
        "definition": "riskAssessment",
        "fixedString": "riskAssessment"
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType",
        "path": "QuestionnaireResponse.item.item.item",
        "sliceName": "subjRiskFactors_recordType",
        "short": "2.1.2 subjRiskFactors_recordType",
        "definition": "2.1.2 subjRiskFactors_recordType"
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.linkId",
        "path": "QuestionnaireResponse.item.item.item.linkId",
        "short": "subjRiskFactors_recordType",
        "definition": "subjRiskFactors_recordType",
        "fixedString": "subjRiskFactors_recordType"
      },
      {
        "id": "QuestionnaireResponse.item:SUBJECT.item:SUBJECT_RISK_FACTORS.item:subjRiskFactors_recordType.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n38.5",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES",
        "path": "QuestionnaireResponse.item",
        "sliceName": "NOTES",
        "short": "3.0 NOTES",
        "definition": "3.0 NOTES"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.linkId",
        "path": "QuestionnaireResponse.item.linkId",
        "short": "3.0 NOTES",
        "definition": "3.0 NOTES",
        "fixedString": "NOTES"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item",
        "path": "QuestionnaireResponse.item.item",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "linkId"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "notes_text",
        "short": "3.1 notes_text",
        "definition": "3.1 notes_text"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "3.1 notes_text",
        "definition": "3.1 notes_text",
        "fixedString": "notes_text"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_text.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n314",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "notes_id",
        "short": "3.2 notes_id",
        "definition": "3.2 notes_id"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "short": "notes_id",
        "definition": "notes_id",
        "fixedString": "notes_id"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_id.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n314.2",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "notes_context",
        "short": "3.3 notes_context",
        "definition": "3.3 notes_context"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "definition": "CM: Mandatory if data element (314) Note Text provided",
        "fixedString": "notes_context"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_context.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n314.3"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "notes_subjectLine"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "definition": "CM: Mandatory if data element 314 (Note Text) provided",
        "fixedString": "notes_subjectLine"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_subjectLine.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n314.4",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "notes_status"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "definition": "CM: Mandatory if data element (314) Note Text provided",
        "fixedString": "notes_status"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_status.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n314.5"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "notes_date"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "definition": "CM: Mandatory if data element (314) Note Text provided\r\nNote Date: yyyy-mm-ddThh:mm:000000[Z|(+|-)hh:mm",
        "fixedString": "notes_date"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_date.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n314.6",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type",
        "path": "QuestionnaireResponse.item.item",
        "sliceName": "notes_type"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.linkId",
        "path": "QuestionnaireResponse.item.item.linkId",
        "definition": "CM: Mandatory if data element (314.7) Note Text provided",
        "fixedString": "notes_type"
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x]",
        "path": "QuestionnaireResponse.item.item.answer.value[x]",
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item:NOTES.item:notes_type.answer.value[x].code",
        "path": "QuestionnaireResponse.item.item.answer.value[x].code",
        "comment": "CD_Mandate_Dataset_Specifications Data Element ID: \r\n314.7"
      }
    ]
  }
}