### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/TestScript.json
### ----------------------------------------------------
### -- Chunk 23 of 27
 retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "TestScript.setup.action.assert.modifierExtension",
      "path" : "TestScript.setup.action.assert.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element'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).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "TestScript.setup.action.assert.label",
      "path" : "TestScript.setup.action.assert.label",
      "short" : "Tracking/logging assertion label",
      "definition" : "The label would be used for tracking/logging purposes by test engines.",
      "comment" : "This has no impact on the verification itself.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.label",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.setup.action.assert.description",
      "path" : "TestScript.setup.action.assert.description",
      "short" : "Tracking/reporting assertion description",
      "definition" : "The description would be used by test engines for tracking and reporting purposes.",
      "comment" : "This has no impact on the verification itself.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.description",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.setup.action.assert.direction",
      "path" : "TestScript.setup.action.assert.direction",
      "short" : "response | request",
      "definition" : "The direction to use for the assertion.",
      "comment" : "If the direction is specified as \"response\" (the default), then the processing of this assert is against the received response message. If the direction is specified as \"request\", then the processing of this assert is against the sent request message.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.direction",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AssertionDirectionType"
        }],
        "strength" : "required",
        "description" : "The type of direction to use for assertion.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/assert-direction-codes|4.0.0"
      }
    },
    {
      "id" : "TestScript.setup.action.assert.compareToSourceId",
      "path" : "TestScript.setup.action.assert.compareToSourceId",
      "short" : "Id of the source fixture to be evaluated",
      "definition" : "Id of the source fixture used as the contents to be evaluated by either the \"source/expression\" or \"sourceId/path\" definition.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.compareToSourceId",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.setup.action.assert.compareToSourceExpression",
      "path" : "TestScript.setup.action.assert.compareToSourceExpression",
      "short" : "The FHIRPath expression to evaluate against the source fixture",
      "definition" : "The FHIRPath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both.",
      "comment" : "Thefhirpath expression to be evaluated against the expected fixture to compare to. Ignored if \"assert.value\" is used. The evaluation will be done before the assertion is evaluated.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.compareToSourceExpression",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.setup.action.assert.compareToSourcePath",
      "path" : "TestScript.setup.action.assert.compareToSourcePath",
      "short" : "XPath or JSONPath expression to evaluate against the source fixture",
      "definition" : "XPath or JSONPath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both.",
      "comment" : "The XPath or JSONPath expression to be evaluated against the expected fixture to compare to. Ignored if \"assert.value\" is used. The evaluation will be done before the assertion is evaluated.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.compareToSourcePath",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.setup.action.assert.contentType",
      "path" : "TestScript.setup.action.assert.contentType",
      "short" : "Mime type to compare against the 'Content-Type' header",
      "definition" : "The mime-type contents to compare against the request or response message 'Content-Type' header.",
      "comment" : "If this is specified, then test engine shall confirm that the content-type of the last operation's headers is set to this value.  If \"assert.sourceId\" element is specified, then the evaluation will be done against the headers mapped to that sourceId (and not the last operation's headers).  If you'd like to have more control over the string, then use 'assert.headerField' instead.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.contentType",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "example" : [{
        "label" : "General",
        "valueCode" : "application/fhir+xml"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "MimeType"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "required",
        "description" : "The mime type of an attachment. Any valid mime type is allowed.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/mimetypes|4.0.0"
      }
    },
    {
      "id" : "TestScript.setup.action.assert.expression",
      "path" : "TestScript.setup.action.assert.expression",
      "short" : "The FHIRPath expression to be evaluated",
      "definition" : "The FHIRPath expression to be evaluated against the request or response message contents - HTTP headers and payload.",
      "comment" : "If both \"expression\" and a \"fixtureId\" are specified, then the expression will be evaluated against the request or response body mapped to the fixtureId.  If \"expression\" is specified and a \"fixtureId\" is not, then the expression will be evaluated against the response body of the last operation.  Test engines are to store the request and response body and headers of the last operation at all times for subsequent assertions.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.expression",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.setup.action.assert.headerField",
      "path" : "TestScript.setup.action.assert.headerField",
      "short" : "HTTP header field name",
      "definition" : "The HTTP header field name e.g. 'Location'.",
      "comment" : "If \"headerField\" is specified then \"value\" must be specified.  If \"sourceId\" is not specified, then \"headerField\" will be evaluated against the last operation's response headers.  Test engines are to keep track of the last operation's response body and response headers.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.headerField",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.setup.action.assert.minimumId",
      "path" : "TestScript.setup.action.assert.minimumId",
      "short" : "Fixture Id of minimum content resource",
      "definition" : "The ID of a fixture.  Asserts that the response contains at a minimum the fixture specified by minimumId.",
      "comment" : "Asserts that the response contains all the element/content in another fixture pointed to by minimumId.  This can be a statically defined fixture or one that is dynamically set via responseId.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.minimumId",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.setup.action.assert.navigationLinks",
      "path" : "TestScript.setup.action.assert.navigationLinks",
      "short" : "Perform validation on navigation links?",
      "definition" : "Whether or not the test execution performs validation on the bundle navigation links.",
      "comment" : "Asserts that the Bundle contains first, last, and next links.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.navigationLinks",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "boolean"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.setup.action.assert.operator",
      "path" : "TestScript.setup.action.assert.operator",
      "short" : "equals | notEquals | in | notIn | greaterThan | lessThan | empty | notEmpty | contains | notContains | eval",
      "definition" : "The operator type defines the conditional behavior of the assert. If not defined, the default is equals.",
      "comment" : "Operators are useful especially for negative testing.  If operator is not specified, then the \"equals\" operator is assumed; e.g. ```<code>   <assert>  <operator value=\"in\" />  <responseCode value=\"200,201,204\" />    </assert>    <assert>  <operator value=\"notEquals\" />  <response value=\"okay\"/>   </assert>    <assert>  <operator value=\"greaterThan\" />    <responseHeader>     <field value=\"Content-Length\" />     <value value=\"0\" />    </responseHeader/>   </assert> </code> ```.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.operator",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AssertionOperatorType"
        }],
        "strength" : "required",
        "description" : "The type of operator to use for assertion.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/assert-operator-codes|4.0.0"
      }
    },
    {
      "id" : "TestScript.setup.action.assert.path",
      "path" : "TestScript.setup.action.assert.path",
      "short" : "XPath or JSONPath expression",
      "definition" : "The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.",
      "comment" : "If both \"path\" and a \"fixtureId\" are specified, then the path will be evaluated against the request or response body mapped to the fixtureId.  If \"path\" is specified and a \"fixtureId\" is not, then the path will be evaluated against the response body of the last operation.  Test engines are to store the request and response body and headers of the last operation at all times for subsequent assertions.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.path",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.setup.action.assert.requestMethod",
      "path" : "TestScript.setup.action.assert.requestMethod",
      "short" : "delete | get | options | patch | post | put | head",
      "definition" : "The request method or HTTP operation code to compare against that used by the client system under test.",
      "comment" : "If \"requestMethod\" is specified then it will be used in place of \"value\". The \"requestMethod\" will evaluate against the last operation's request HTTP operation.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.requestMethod",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "TestScriptRequestMethodCode"
        }],
        "strength" : "required",
        "description" : "The allowable request method or HTTP operation codes.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/http-operations|4.0.0"
      }
    },
    {
      "id" : "TestScript.setup.action.assert.requestURL",
      "path" : "TestScript.setup.action.assert.requestURL",
      "short" : "Request URL comparison value",
      "definition" : "The value to use in a comparison against the request URL path string.",
      "comment" : "If \"requestURL\" is specified then it will be used in place of \"value\". The \"requestURL\" will evaluate against the last operation's full request URL path string.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.requestURL",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.setup.action.assert.resource",
      "path" : "TestScript.setup.action.assert.resource",
      "short" : "Resource type",
      "definition" : "The type of the resource.  See http://build.fhir.org/resourcelist.html.",
      "comment" : "This will be expected resource type in response body e.g. in read, vread, search, etc.  See http://build.fhir.org/resourcelist.html for complete list of resource types; e.g. <assert > <resourceType value=\"Patient\" </assert>.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.resource",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "FHIRDefinedType"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean" : true
        }],
        "strength" : "required",
        "description" : "A list of all the concrete types defined in this version of the FHIR specification - Data Types and Resource Types.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/defined-types|4.0.0"
      }
    },
    {
      "id" : "TestScript.setup.action.assert.response",
      "path" : "TestScript.setup.action.assert.response",
      "short" : "okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable",
      "definition" : "okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable.",
      "comment" : "This is a shorter way of achieving similar verifications via \"assert.responseCode\".  If you need more control, then use \"assert.responseCode\"  e.g. <assert>  <contentType value=\"json\" />  <response value=\"okay\"/> </assert>.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.response",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "AssertionResponseTypes"
        }],
        "strength" : "required",
        "description" : "The type of response code to use for assertion.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/assert-response-code-types|4.0.0"
      }
    },
    {
      "id" : "TestScript.setup.action.assert.responseCode",
      "path" : "TestScript.setup.action.assert.responseCode",
      "short" : "HTTP response code to test",
      "definition" : "The value of the HTTP response code to be tested.",
      "comment" : "To be used with \"operator\" attribute value. Asserts that the response code equals this value if \"operator\" is not specified.   If the operator is \"in\" or \"notIn\" then the responseCode would be a comma-separated list of values e.g. \"200,201\". Otherwise, it's expected to be a numeric value.   If \"fixture\" is not specified, then the \"responseBodyId\" value of the last operation is assumed.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.responseCode",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.setup.action.assert.sourceId",
      "path" : "TestScript.setup.action.assert.sourceId",
      "short" : "Fixture Id of source expression or headerField",
      "definition" : "Fixture to evaluate the XPath/JSONPath expression or the headerField  against.",
      "comment" : "This can be a statically defined fixture (at the top of the testscript) or a dynamically set fixture created by responseId of the action.operation element.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.sourceId",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "id"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.setup.action.assert.validateProfileId",
      "path" : "TestScript.setup.action.assert.validateProfileId",
      "short" : "Profile Id of validation profile reference",
      "definition" : "The ID of the Profile to validate against.",
      "comment" : "The ID of a Profile fixture. Asserts that the response is valid according to the Profile specified by validateProfileId.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.validateProfileId",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "id"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.setup.action.assert.value",
      "path" : "TestScript.setup.action.assert.value",
      "short" : "The value to compare to",
      "definition" : "The value to compare to.",
      "comment" : "The string-representation of a number, string, or boolean that is expected.  Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before comparing this value to the actual value.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.value",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.setup.action.assert.warningOnly",
      "path" : "TestScript.setup.action.assert.warningOnly",
      "short" : "Will this assert produce a warning only on error?",
      "definition" : "Whether or not the test execution will produce a warning only on error for this assert.",
      "comment" : "If this element is specified and it is true, then assertion failures can be logged by test engine but should not stop the test script execution from proceeding.  There are likely cases where the spec is not clear on what should happen. If the spec says something is optional (maybe a response header for example), but a server doesn’t do it, we could choose to issue a warning.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "TestScript.setup.action.assert.warningOnly",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "boolean"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.test",
      "path" : "TestScript.test",
      "short" : "A test in this script",
      "definition" : "A test in this script.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "TestScript.test",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.test.id",
      "path" : "TestScript.test.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "TestScript.test.extension",
      "path" : "TestScript.test.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and 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.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "TestScript.test.modifierExtension",
      "path" : "TestScript.test.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element'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).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "TestScript.test.name",
      "path" : "TestScript.test.name",
      "short" : "Tracking/logging name of this test",
      "definition" : "The name of this test used for tracking/logging purposes by test engines.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.test.name",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.test.description",
      "path" : "TestScript.test.description",
      "short" : "Tracking/reporting short description of the test",
      "definition" : "A short description of the test used by test engines for tracking and reporting purposes.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "TestScript.test.description",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.test.action",
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString" : "TestAction"
      }],
      "path" : "TestScript.test.action",
      "short" : "A test operation or assert to perform",
      "definition" : "Action would contain either an operation or an assertion.",
      "comment" : "An action should contain either an operation or an assertion but not both.  It can contain any number of variables.",
      "min" : 1,
      "max" : "*",
      "base" : {
        "path" : "TestScript.test.action",
        "min" : 1,
        "max" : "*"
      },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      },
      {
        "key" : "tst-2",
        "severity" : "error",
        "human" : "Test action SHALL contain either an operation or assert but not both.",
        "expression" : "operation.exists() xor assert.exists()",
        "xpath" : "(f:operation or f:assert) and not(f:operation and f:assert)"
      }],
      "isModifier" : false,
      "isSummary" : false
    },
    {
      "id" : "TestScript.test.action.id",
      "path" : "TestScript.test.action.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "TestScript.test.action.extension",
      "path" : "TestScript.test.action.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied