Cross-Version Extension for TestScript.rule in R3

URLhttp://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.rule
Version
Statusactive
Description

Cross-Version Extension for TestScript.rule. Valid in versions R2, R4, R4B, R5

This is a valid cross-version extension because it's counted as a new element

Context of Use

This extension may be used in the following contexts:


NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionAssert rule used within the test script
... extension:paramR3 ?gen-e1? [CanonicalType[http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.rule.param]]URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.rule.param
... extension:resourceR3 ?gen-e1? [CanonicalType[http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.rule.resource]]URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.rule.resource
... extension 1..
... value[x] ..0
... url "http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.rule"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r3-tst.rule",
  "url" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.rule",
  "name" : "XVerExtensionTestScript.ruleR3",
  "title" : "Cross-Version Extension for TestScript.rule in R3",
  "status" : "active",
  "experimental" : false,
  "publisher" : "Health Level Seven International (FHIR Infrastructure)",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  },
  {
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/fiwg/index.cfm"
    }]
  }],
  "description" : "Cross-Version Extension for TestScript.rule. Valid in versions R2, R4, R4B, R5\r\n\r\nThis is a valid cross-version extension because it's counted as a new element",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001"
    }]
  }],
  "fhirVersion" : "5.0.0",
  "kind" : "complex-type",
  "abstract" : false,
  "context" : [{
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "5.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "5.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "TestScript"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-TestScript"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "4.3"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "4.3"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "TestScript"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/4.3/StructureDefinition/extension-TestScript"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "4.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "4.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "TestScript"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-TestScript"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "1.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "1.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "TestScript"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-TestScript"
  }],
  "type" : "Extension",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "path" : "Extension",
      "short" : "Assert rule used within the test script",
      "definition" : "Assert rule to be used in one or more asserts within the test script.",
      "comment" : "Each rule should be treated by test engines as one assertion regardless of how many assertions are contained within the external rule template.  The impact of negative rule evaluation on test script execution is the same as an assertion failure which is described elsewhere in the TestScript resource.",
      "min" : 0,
      "max" : "*",
      "isModifier" : false
    },
    {
      "path" : "Extension.extension",
      "sliceName" : "paramR3",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.rule.param"]
      }]
    },
    {
      "path" : "Extension.extension",
      "sliceName" : "resourceR3",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.rule.resource"]
      }]
    },
    {
      "path" : "Extension.extension",
      "min" : 1
    },
    {
      "path" : "Extension.value[x]",
      "max" : "0"
    },
    {
      "path" : "Extension.url",
      "fixedUri" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.rule"
    }]
  }
}