{

"resourceType": "OperationDefinition",
"id": "CapabilityStatement-subset",
"extension": [
  {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger": 5
  },
  {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode": "trial-use"
  }
],
"url": "http://hl7.org/fhir/OperationDefinition/CapabilityStatement-subset",
"version": "4.0.1",
"name": "Fetch a subset of the CapabilityStatement resource",
"status": "draft",
"kind": "operation",
"date": "2019-11-01T09:29:23+11:00",
"publisher": "HL7 (FHIR Project)",
"contact": [
  {
    "telecom": [
      {
        "system": "url",
        "value": "http://hl7.org/fhir"
      },
      {
        "system": "email",
        "value": "fhir@lists.hl7.org"
      }
    ]
  }
],
"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",
"code": "subset",
"resource": [
  "CapabilityStatement"
],
"system": false,
"type": true,
"instance": true,
"parameter": [
  {
    "name": "server",
    "use": "in",
    "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"
  }
]

}