Cross-Version Extension for TestScript.ruleset in R3

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

Cross-Version Extension for TestScript.ruleset. 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 ruleset used within the test script
... extension:resourceR3 ?gen-e1? [CanonicalType[http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.ruleset.resource]]URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.ruleset.resource
... extension:ruleR3 ?gen-e1? [CanonicalType[http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.ruleset.rule]]URL: http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.ruleset.rule
... extension 1..
... value[x] ..0
... url "http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.ruleset"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r3-tst.ruleset",
  "url" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.ruleset",
  "name" : "XVerExtensionTestScript.rulesetR3",
  "title" : "Cross-Version Extension for TestScript.ruleset 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.ruleset. 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 ruleset used within the test script",
      "definition" : "Contains one or more rules.  Offers a way to group rules so assertions could reference the group of rules and have them all applied.",
      "comment" : "Each rule within a ruleset 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" : "resourceR3",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.ruleset.resource"]
      }]
    },
    {
      "path" : "Extension.extension",
      "sliceName" : "ruleR3",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.ruleset.rule"]
      }]
    },
    {
      "path" : "Extension.extension",
      "min" : 1
    },
    {
      "path" : "Extension.value[x]",
      "max" : "0"
    },
    {
      "path" : "Extension.url",
      "fixedUri" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.ruleset"
    }]
  }
}