US Core Testing Guide
3.1.1-1 - ci-build United States of America flag

US Core Testing Guide - Local Development build (v3.1.1-1). See the Directory of published versions

: HL7 FHIR R4 US Core Capabilities - JSON Representation

Active as of 2023-08-25

Raw json | Download


{
  "resourceType" : "TestPlan",
  "id" : "us-core-testplan-capabilities",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Contact:</b> (HL7 FHIR Infrastructure WG: <a href=\"https://hl7.org/Special/committees/fiwg\">https://hl7.org/Special/commit...</a>, Richard Ettema: <a href=\"mailto:mailto:richard.ettema@aegis.net\">mailto:richard.ettema@aegis.net</a>)</p><p><b>Category: </b><span title=\"Codes: {http://hl7.org/fhir/testscript-scope-phase-codes integration}\">Integration</span></p><p><b>Test Plan Scope: </b><a href=\"http://hl7.org/fhir/us/core/STU3.1.1/CapabilityStatement-us-core-server.html\">http://hl7.org/fhir/us/core/STU3.1.1/CapabilityStatement-us-core-server.html</a></p><p><b>Test Tools: </b></p><div><p><a href=\"https://touchstone.com\">Touchstone FHIR Testing Platform</a></p>\n</div><p><b>Test Plan Dependency:</b></p><ul><li><div><p><strong>Requirements traceability:</strong> <a href=\"Requirements-us-core-req-capstmt-responder.html\">Requirements-us-core-req-capstmt-responder</a></p>\n</div></li></ul><h2>Test Case - Sequence1</h2><h3>Test Case Dependency</h3><ul><li><div><p><strong>Requirements traceability:</strong></p>\n<ul>\n<li><a href=\"Requirements-us-core-req-capstmt-responder.html#us-core-req-capstmt-responder-01\">us-core-req-capstmt-responder-01</a></li>\n<li><a href=\"Requirements-us-core-req-capstmt-responder.html#us-core-req-capstmt-responder-02\">us-core-req-capstmt-responder-02</a></li>\n<li><a href=\"Requirements-us-core-req-capstmt-responder.html#us-core-req-capstmt-responder-03\">us-core-req-capstmt-responder-03</a></li>\n</ul>\n</div></li></ul><h3>Test Run 1</h3><div><p>Get the FHIR Server's JSON formatted CapabilityStatement and validate against the US Core 3.1.1 IG</p>\n</div><table class=\"grid\"><tr><td><b>Language</b></td><td><b>Source[x]</b></td></tr><tr><td><span title=\"Codes: {http://example.org/fhir/testplan/language testscript}\">testscript</span></td><td><a href=\"TestScript-USCoreCapabilityStatementjson.html\">TestScript/USCoreCapabilityStatementjson</a> &quot;USCoreCapabilityStatementjson&quot;</td></tr></table><h3>Test Run 2</h3><div><p>Get the FHIR Server's XML formatted CapabilityStatement and validate against the US Core 3.1.1 IG</p>\n</div><table class=\"grid\"><tr><td><b>Language</b></td><td><b>Source[x]</b></td></tr><tr><td><span title=\"Codes: {http://example.org/fhir/testplan/language testscript}\">testscript</span></td><td><a href=\"TestScript-USCoreCapabilityStatementxml.html\">TestScript/USCoreCapabilityStatementxml</a> &quot;USCoreCapabilityStatementxml&quot;</td></tr></table></div>"
  },
  "url" : "http://hl7.org/fhir/us/core-tg/TestPlan/us-core-testplan-capabilities",
  "version" : "3.1.1-1",
  "name" : "USCoreTestPlancapabilities",
  "title" : "HL7 FHIR R4 US Core Capabilities",
  "status" : "active",
  "date" : "2023-08-25",
  "publisher" : "HL7 FHIR Infrastructure WG",
  "contact" : [
    {
      "name" : "HL7 FHIR Infrastructure WG",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://hl7.org/Special/committees/fiwg"
        }
      ]
    },
    {
      "name" : "Richard Ettema",
      "telecom" : [
        {
          "system" : "email",
          "value" : "mailto:richard.ettema@aegis.net"
        }
      ]
    }
  ],
  "description" : "Example TestPlan to verify a FHIR server's CapabilityStatement conformance to the US Core 3.1.1 IG",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "urn:iso:std:iso:3166",
          "code" : "US"
        }
      ]
    }
  ],
  "category" : [
    {
      "coding" : [
        {
          "system" : "http://hl7.org/fhir/testscript-scope-phase-codes",
          "code" : "integration"
        }
      ]
    }
  ],
  "scope" : [
    {
      "reference" : "http://hl7.org/fhir/us/core/STU3.1.1/CapabilityStatement-us-core-server.html"
    }
  ],
  "testTools" : "[Touchstone FHIR Testing Platform](https://touchstone.com)",
  "dependency" : [
    {
      "description" : "**Requirements traceability:** [Requirements-us-core-req-capstmt-responder](Requirements-us-core-req-capstmt-responder.html)"
    }
  ],
  "testCase" : [
    {
      "sequence" : 1,
      "dependency" : [
        {
          "description" : "**Requirements traceability:**\n* [us-core-req-capstmt-responder-01](Requirements-us-core-req-capstmt-responder.html#us-core-req-capstmt-responder-01)\n* [us-core-req-capstmt-responder-02](Requirements-us-core-req-capstmt-responder.html#us-core-req-capstmt-responder-02)\n* [us-core-req-capstmt-responder-03](Requirements-us-core-req-capstmt-responder.html#us-core-req-capstmt-responder-03)"
        }
      ],
      "testRun" : [
        {
          "narrative" : "Get the FHIR Server's JSON formatted CapabilityStatement and validate against the US Core 3.1.1 IG",
          "script" : {
            "language" : {
              "coding" : [
                {
                  "system" : "http://example.org/fhir/testplan/language",
                  "code" : "testscript"
                }
              ]
            },
            "sourceReference" : {
              "reference" : "TestScript/USCoreCapabilityStatementjson"
            }
          }
        },
        {
          "narrative" : "Get the FHIR Server's XML formatted CapabilityStatement and validate against the US Core 3.1.1 IG",
          "script" : {
            "language" : {
              "coding" : [
                {
                  "system" : "http://example.org/fhir/testplan/language",
                  "code" : "testscript"
                }
              ]
            },
            "sourceReference" : {
              "reference" : "TestScript/USCoreCapabilityStatementxml"
            }
          }
        }
      ]
    }
  ]
}