PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.sdc@2.7.0
    http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-next-question-in
{
  "description": "Profile used to validate the parameters that are the input of the 'next question' adaptive questionnaire operation",
  "_filename": "StructureDefinition-parameters-questionnaire-next-question-in.json",
  "package_name": "hl7.fhir.uv.sdc",
  "date": "2019-03-27T07:28:05+11:00",
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.0",
  "name": "ParametersQuestionnaireNextQuestionnaireIn",
  "mapping": [ {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  } ],
  "abstract": false,
  "type": "Parameters",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Next question operation input parameters",
  "package_version": "2.7.0",
  "snapshot": {
    "element": [ {
      "path": "Parameters",
      "min": 0,
      "definition": "This resource is a non-persisted resource used to pass information into and back from an [operation](http://hl7.org/fhir/R4/operations.html). It has no other use, and there is no RESTful endpoint associated with it.",
      "isModifier": false,
      "short": "Operation Request or Response",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "v2"
      }, {
        "map": "n/a",
        "identity": "rim"
      } ],
      "max": "*",
      "id": "Parameters",
      "comment": "The parameters that may be used are defined by the OperationDefinition resource.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Parameters"
      },
      "isSummary": false
    }, {
      "path": "Parameters.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "isModifier": false,
      "short": "Logical id of this artifact",
      "type": [ {
        "code": "id"
      } ],
      "max": "1",
      "id": "Parameters.id",
      "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.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "path": "Parameters.meta",
      "min": 0,
      "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
      "isModifier": false,
      "short": "Metadata about the resource",
      "type": [ {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "Parameters.meta",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "path": "Parameters.implicitRules",
      "min": 0,
      "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Parameters.implicitRules",
      "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
      "isSummary": true
    }, {
      "path": "Parameters.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "isModifier": false,
      "short": "Language of the resource content",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/languages",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Language"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "A human language."
      },
      "max": "1",
      "id": "Parameters.language",
      "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.language"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "inv-1",
        "human": "A parameter must have one and only one of (value, resource, part)",
        "xpath": "(exists(f:resource) or exists(f:part) or exists(f:*[starts-with(local-name(.), 'value')])) and not(exists(f:*[starts-with(local-name(.), 'value')])) and exists(f:resource))) and not(exists(f:*[starts-with(local-name(.), 'value')])) and exists(f:part))) and not(exists(f:part) and exists(f:resource))",
        "source": "Parameters.parameter",
        "severity": "error",
        "expression": "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))"
      } ],
      "path": "Parameters.parameter",
      "min": 0,
      "definition": "A parameter passed to or received from the operation.",
      "isModifier": false,
      "short": "Operation Parameter",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "name",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Parameters.parameter",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Parameters.parameter"
      },
      "isSummary": true
    }, {
      "path": "Parameters.parameter.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Parameters.parameter.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "path": "Parameters.parameter.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Parameters.parameter.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Parameters.parameter.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Parameters.parameter.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "Parameters.parameter.name",
      "min": 1,
      "definition": "The name of the parameter (reference to the operation definition).",
      "isModifier": false,
      "short": "Name from the definition",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "Parameters.parameter.name",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Parameters.parameter.name"
      },
      "isSummary": true
    }, {
      "path": "Parameters.parameter.value[x]",
      "min": 0,
      "definition": "If the parameter is a data type.",
      "isModifier": false,
      "short": "If parameter is a data type",
      "type": [ {
        "code": "base64Binary"
      }, {
        "code": "boolean"
      }, {
        "code": "canonical"
      }, {
        "code": "code"
      }, {
        "code": "date"
      }, {
        "code": "dateTime"
      }, {
        "code": "decimal"
      }, {
        "code": "id"
      }, {
        "code": "instant"
      }, {
        "code": "integer"
      }, {
        "code": "markdown"
      }, {
        "code": "oid"
      }, {
        "code": "positiveInt"
      }, {
        "code": "string"
      }, {
        "code": "time"
      }, {
        "code": "unsignedInt"
      }, {
        "code": "uri"
      }, {
        "code": "url"
      }, {
        "code": "uuid"
      }, {
        "code": "Address"
      }, {
        "code": "Age"
      }, {
        "code": "Annotation"
      }, {
        "code": "Attachment"
      }, {
        "code": "CodeableConcept"
      }, {
        "code": "Coding"
      }, {
        "code": "ContactPoint"
      }, {
        "code": "Count"
      }, {
        "code": "Distance"
      }, {
        "code": "Duration"
      }, {
        "code": "HumanName"
      }, {
        "code": "Identifier"
      }, {
        "code": "Money"
      }, {
        "code": "Period"
      }, {
        "code": "Quantity"
      }, {
        "code": "Range"
      }, {
        "code": "Ratio"
      }, {
        "code": "Reference"
      }, {
        "code": "SampledData"
      }, {
        "code": "Signature"
      }, {
        "code": "Timing"
      }, {
        "code": "ContactDetail"
      }, {
        "code": "Contributor"
      }, {
        "code": "DataRequirement"
      }, {
        "code": "Expression"
      }, {
        "code": "ParameterDefinition"
      }, {
        "code": "RelatedArtifact"
      }, {
        "code": "TriggerDefinition"
      }, {
        "code": "UsageContext"
      }, {
        "code": "Dosage"
      } ],
      "max": "1",
      "id": "Parameters.parameter.value[x]",
      "condition": [ "inv-1" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Parameters.parameter.value[x]"
      },
      "isSummary": true
    }, {
      "path": "Parameters.parameter.resource",
      "min": 0,
      "definition": "If the parameter is a whole resource.",
      "isModifier": false,
      "short": "If parameter is a whole resource",
      "type": [ {
        "code": "Resource"
      } ],
      "max": "1",
      "id": "Parameters.parameter.resource",
      "condition": [ "inv-1" ],
      "comment": "When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Parameters.parameter.resource"
      },
      "isSummary": true
    }, {
      "path": "Parameters.parameter.part",
      "min": 0,
      "definition": "A named part of a multi-part parameter.",
      "isModifier": false,
      "short": "Named part of a multi-part parameter",
      "contentReference": "#Parameters.parameter",
      "max": "*",
      "id": "Parameters.parameter.part",
      "comment": "Only one level of nested parameters is allowed.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Parameters.parameter.part"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "inv-1",
        "human": "A parameter must have one and only one of (value, resource, part)",
        "xpath": "(exists(f:resource) or exists(f:part) or exists(f:*[starts-with(local-name(.), 'value')])) and not(exists(f:*[starts-with(local-name(.), 'value')])) and exists(f:resource))) and not(exists(f:*[starts-with(local-name(.), 'value')])) and exists(f:part))) and not(exists(f:part) and exists(f:resource))",
        "source": "Parameters.parameter",
        "severity": "error",
        "expression": "(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))"
      } ],
      "path": "Parameters.parameter",
      "min": 0,
      "definition": "A parameter passed to or received from the operation.",
      "isModifier": false,
      "short": "Operation Parameter",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "in",
      "max": "*",
      "id": "Parameters.parameter:in",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Parameters.parameter"
      },
      "isSummary": true
    }, {
      "path": "Parameters.parameter.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Parameters.parameter:in.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "path": "Parameters.parameter.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Parameters.parameter:in.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Parameters.parameter.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Parameters.parameter:in.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "Parameters.parameter.name",
      "min": 1,
      "definition": "The name of the parameter (reference to the operation definition).",
      "isModifier": false,
      "short": "Name from the definition",
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "fixedString": "in",
      "id": "Parameters.parameter:in.name",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Parameters.parameter.name"
      },
      "isSummary": true
    }, {
      "path": "Parameters.parameter.value[x]",
      "min": 0,
      "definition": "If the parameter is a data type.",
      "isModifier": false,
      "short": "If parameter is a data type",
      "type": [ {
        "code": "base64Binary"
      }, {
        "code": "boolean"
      }, {
        "code": "canonical"
      }, {
        "code": "code"
      }, {
        "code": "date"
      }, {
        "code": "dateTime"
      }, {
        "code": "decimal"
      }, {
        "code": "id"
      }, {
        "code": "instant"
      }, {
        "code": "integer"
      }, {
        "code": "markdown"
      }, {
        "code": "oid"
      }, {
        "code": "positiveInt"
      }, {
        "code": "string"
      }, {
        "code": "time"
      }, {
        "code": "unsignedInt"
      }, {
        "code": "uri"
      }, {
        "code": "url"
      }, {
        "code": "uuid"
      }, {
        "code": "Address"
      }, {
        "code": "Age"
      }, {
        "code": "Annotation"
      }, {
        "code": "Attachment"
      }, {
        "code": "CodeableConcept"
      }, {
        "code": "Coding"
      }, {
        "code": "ContactPoint"
      }, {
        "code": "Count"
      }, {
        "code": "Distance"
      }, {
        "code": "Duration"
      }, {
        "code": "HumanName"
      }, {
        "code": "Identifier"
      }, {
        "code": "Money"
      }, {
        "code": "Period"
      }, {
        "code": "Quantity"
      }, {
        "code": "Range"
      }, {
        "code": "Ratio"
      }, {
        "code": "Reference"
      }, {
        "code": "SampledData"
      }, {
        "code": "Signature"
      }, {
        "code": "Timing"
      }, {
        "code": "ContactDetail"
      }, {
        "code": "Contributor"
      }, {
        "code": "DataRequirement"
      }, {
        "code": "Expression"
      }, {
        "code": "ParameterDefinition"
      }, {
        "code": "RelatedArtifact"
      }, {
        "code": "TriggerDefinition"
      }, {
        "code": "UsageContext"
      }, {
        "code": "Dosage"
      } ],
      "max": "0",
      "id": "Parameters.parameter:in.value[x]",
      "condition": [ "inv-1" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Parameters.parameter.value[x]"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "xpath": "not(parent::f:contained and f:contained)",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
        "xpath": "not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"
      }, {
        "key": "dom-6",
        "human": "A resource should have narrative for robust management",
        "xpath": "exists(f:text/h:div)",
        "source": "DomainResource",
        "severity": "warning",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
          "valueBoolean": true
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
          "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
        } ],
        "expression": "text.div.exists()"
      }, {
        "key": "dom-5",
        "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
        "xpath": "not(exists(f:contained/*/f:meta/f:security))",
        "source": "DomainResource",
        "severity": "error",
        "expression": "contained.meta.security.empty()"
      }, {
        "key": "que-2",
        "human": "The link ids for groups and questions must be unique within the questionnaire",
        "xpath": "count(descendant::f:linkId/@value)=count(distinct-values(descendant::f:linkId/@value))",
        "source": "Questionnaire",
        "severity": "error",
        "expression": "descendants().linkId.isDistinct()"
      }, {
        "key": "que-0",
        "human": "Name should be usable as an identifier for the module by machine processing applications such as code generation",
        "xpath": "not(exists(f:name/@value)) or matches(f:name/@value, '[A-Z]([A-Za-z0-9_]){0,254}')",
        "source": "Questionnaire",
        "severity": "warning",
        "expression": "name.matches('[A-Z]([A-Za-z0-9_]){0,254}')"
      } ],
      "path": "Parameters.parameter.resource",
      "min": 0,
      "definition": "Defines the metadata that should be present to embedding a adaptive Questionnaire as part of a QuestionnaireResponse.",
      "isModifier": false,
      "short": "Adaptive Questionnaire",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "Definition",
        "identity": "workflow"
      }, {
        "map": "Observation[moodCode=DEF]",
        "identity": "rim"
      }, {
        "map": "Form_Package",
        "identity": "ihe-sdc"
      } ],
      "type": [ {
        "code": "Resource",
        "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt" ]
      } ],
      "mustSupport": false,
      "alias": [ "Form", "CRF", "Survey" ],
      "max": "1",
      "id": "Parameters.parameter:in.resource",
      "comment": "When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Parameters.parameter.resource"
      },
      "isSummary": false
    }, {
      "path": "Parameters.parameter.part",
      "min": 0,
      "definition": "A named part of a multi-part parameter.",
      "isModifier": false,
      "short": "Named part of a multi-part parameter",
      "contentReference": "#Parameters.parameter:in",
      "max": "0",
      "id": "Parameters.parameter:in.part",
      "comment": "Only one level of nested parameters is allowed.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Parameters.parameter.part"
      },
      "isSummary": true
    } ]
  },
  "status": "draft",
  "id": "07ddeb9a-d26d-4238-8778-ca5df30d569f",
  "kind": "resource",
  "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/parameters-questionnaire-next-question-in",
  "version": "2.7.0",
  "differential": {
    "element": [ {
      "id": "Parameters",
      "path": "Parameters"
    }, {
      "id": "Parameters.parameter",
      "path": "Parameters.parameter",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "name",
          "type": "value"
        } ]
      }
    }, {
      "id": "Parameters.parameter:in",
      "path": "Parameters.parameter",
      "sliceName": "in"
    }, {
      "id": "Parameters.parameter:in.name",
      "path": "Parameters.parameter.name",
      "fixedString": "in"
    }, {
      "id": "Parameters.parameter:in.value[x]",
      "max": "0",
      "path": "Parameters.parameter.value[x]"
    }, {
      "id": "Parameters.parameter:in.resource",
      "path": "Parameters.parameter.resource",
      "type": [ {
        "code": "Resource",
        "profile": [ "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-adapt" ]
      } ]
    }, {
      "id": "Parameters.parameter:in.part",
      "max": "0",
      "path": "Parameters.parameter.part"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters"
}