{
  "resourceType": "OperationDefinition",
  "id": "ValueSet-supported-at",
  "name": "Find ValueSet used by element, interaction, & Resource",
  "status": "draft",
  "kind": "query",
  "description": "Each FHIR server supports a subset of the ValueSets for\r\n  - MIME type for DocumentReference.content.attachment.contentType.\r\n  - LOINC code for DocumentReference.type.\r\n  \r\n  Clients need to know what a server supports for create \r\n  - Discovering this by trial and error would be time consuming and unlikely to be comprehensive.\r\n  - Communicating this out of band would pose implementation burden.\r\n  \r\n  This operation lets a client retrieve the ValueSet for an element (e.g. DocumentReference.content.attachment.contentType) and an interaction (e.g. create).",
  "code": "supported-at",
  "resource": [
    "ValueSet"
  ],
  "system": false,
  "instance": false,
  "type": true,
  "parameter": [
    {
      "name": "element",
      "use": "in",
      "min": "1",
      "max": "1",
      "documentation": "Path of the element in the hierarchy of elements, starting with the name of the resource",
      "type": "string"
    },
    {
      "name": "interaction",
      "use": "in",
      "min": "1",
      "max": "1",
      "documentation": "The interaction; this is most critical for interactions that write to the server but may also be useful to the client when reading",
      "type": "code",
      "binding": {
        "strength": "required",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/valueset-type-restful-interaction.html"
        }
      }
    },
    {
      "name": "return",
      "use": "out",
      "min": "1",
      "max": "1",
      "documentation": "A Bundle containing ValueSet or ValueSets or an OperationOutcome if the operation was unsuccessful",
      "type": "Bundle"
    }
  ]
}