# Fetch a subset of the CapabilityStatement resource - FHIR Application Feature Framework Implementation Guide v1.0.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Fetch a subset of the CapabilityStatement resource**

## OperationDefinition: Fetch a subset of the CapabilityStatement resource 

| | | |
| :--- | :--- | :--- |
| *Official URL*:http://hl7.org/fhir/uv/application-feature/OperationDefinition/CapabilityStatement-subset | *Version*:1.0.0 | |
| * Standards status: *[Trial-use](http://hl7.org/fhir/R5/versions.html#std-process) | [Maturity Level](http://hl7.org/fhir/versions.html#maturity): 5 | *Computable Name*:Subset |
| *Other Identifiers:*OID:2.16.840.1.113883.4.642.32.6 | | |

 
This operation asks the server to return a subset of the CapabilityStatement resource - just the REST parts that relate to a set of nominated resources - the resources that the client is interested in 



## Resource Content

```json
{
  "resourceType" : "OperationDefinition",
  "id" : "CapabilityStatement-subset",
  "meta" : {
    "lastUpdated" : "2021-01-05T10:01:24.148+11:00"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 5
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use"
  },
  {
    "extension" : [{
      "url" : "list",
      "valueString" : "1"
    },
    {
      "url" : "response",
      "valueBoolean" : false
    },
    {
      "url" : "content",
      "valueString" : "$subset-request.txt"
    }],
    "url" : "http://hl7.org/fhir/build/StructureDefinition/example"
  },
  {
    "extension" : [{
      "url" : "list",
      "valueString" : "1"
    },
    {
      "url" : "response",
      "valueBoolean" : true
    },
    {
      "url" : "content",
      "valueString" : "$subset-response.txt"
    }],
    "url" : "http://hl7.org/fhir/build/StructureDefinition/example"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "fhir"
  }],
  "url" : "http://hl7.org/fhir/uv/application-feature/OperationDefinition/CapabilityStatement-subset",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.32.6"
  }],
  "version" : "1.0.0",
  "name" : "Subset",
  "title" : "Fetch a subset of the CapabilityStatement resource",
  "status" : "active",
  "kind" : "operation",
  "date" : "2021-01-05T10:01:24+11:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [{
    "name" : "HL7 International / FHIR Infrastructure",
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/fiwg"
    }]
  }],
  "description" : "This operation asks the server to return a subset of the CapabilityStatement resource - just the REST parts that relate to a set of nominated resources - the resources that the client is interested in",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "affectsState" : false,
  "code" : "subset",
  "resource" : ["CapabilityStatement"],
  "system" : false,
  "type" : true,
  "instance" : true,
  "parameter" : [{
    "name" : "server",
    "use" : "in",
    "scope" : ["type", "system"],
    "min" : 0,
    "max" : "1",
    "documentation" : "The canonical URL - use this if the subset is not invoked on an instance (or on the /metadata end-point)",
    "type" : "uri"
  },
  {
    "name" : "resource",
    "use" : "in",
    "min" : 1,
    "max" : "*",
    "documentation" : "A resource that the client would like to include in the return",
    "type" : "code"
  },
  {
    "name" : "return",
    "use" : "out",
    "min" : 1,
    "max" : "1",
    "documentation" : "The subsetted CapabilityStatement resource that is returned. This should be tagged with the SUBSETTED code",
    "type" : "CapabilityStatement"
  }]
}

```
