﻿{
    "openapi": "3.0.1",
    "info": {
      "title": "Base FHIR Capability Statement (Full)",
      "description": "This is the base Capability Statement for FHIR. It represents a server that provides the full set of functionality defined by FHIR. It is provided to use as a template for system designers to build their own Capability Statements from",
      "license": {
        "name": "test-lic",
        "url": "http://spdx.org/licenses/test-lic.html"
      },
      "version": "4.1.0",
      "contact": {
        "name": "FHIR Project Team"
      }
    },
    "externalDocs": {
      "url": "http://hl7.org/fhir/CapabilityStatement/base",
      "description": "FHIR CapabilityStatement"
    },
    "paths": {
      "/metadata": {
        "summary": "Access to the Server\u0027s Capability Statement",
        "description": "All FHIR Servers return a CapabilityStatement that describes what services they perform",
        "get": {
          "summary": "Return the server\u0027s capability statement",
          "operationId": "metadata",
          "responses": {
            "default": {
              "description": "Error, with details",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/OperationOutcome"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/OperationOutcome.xsd"
                  }
                }
              }
            },
            "200": {
              "description": "the capbility statement",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/CapabilityStatement"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/CapabilityStatement.xsd"
                  }
                }
              }
            }
          },
          "parameters": [
            {
              "$ref": "#/components/parameters/format"
            },
            {
              "$ref": "#/components/parameters/pretty"
            },
            {
              "$ref": "#/components/parameters/summary"
            },
            {
              "$ref": "#/components/parameters/elements"
            }
          ]
        }
      },
      "/Account": {
        "summary": "Manager for resources of type Account",
        "description": "The Manager for resources of type Account: provides services to manage the collection of all the Account instances",
        "get": {
          "summary": "Search all resources of type Account based on a set of criteria",
          "operationId": "searchAccount",
          "responses": {
            "default": {
              "description": "Error, with details",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/OperationOutcome"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/OperationOutcome.xsd"
                  }
                }
              }
            },
            "200": {
              "description": "the resource being returned",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/Bundle"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/Bundle.xsd"
                  }
                }
              }
            }
          },
          "parameters": [
            {
              "$ref": "#/components/parameters/format"
            },
            {
              "$ref": "#/components/parameters/pretty"
            },
            {
              "$ref": "#/components/parameters/summary"
            },
            {
              "$ref": "#/components/parameters/elements"
            },
            {
              "name": "owner",
              "in": "query",
              "description": "Entity managing the Account",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "identifier",
              "in": "query",
              "description": "Account number",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "period",
              "in": "query",
              "description": "Transaction window",
              "schema": {
                "type": "string",
                "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"
              }
            },
            {
              "name": "subject",
              "in": "query",
              "description": "The entity that caused the expenses",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "patient",
              "in": "query",
              "description": "The entity that caused the expenses",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "name",
              "in": "query",
              "description": "Human-readable label",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "type",
              "in": "query",
              "description": "E.g. patient, expense, depreciation",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "status",
              "in": "query",
              "description": "active | inactive | entered-in-error | on-hold | unknown",
              "schema": {
                "type": "string"
              }
            }
          ]
        },
        "put": {
          "summary": "Create a new resource",
          "operationId": "createAccount",
          "requestBody": {
            "description": "The new state of the resource",
            "required": true,
            "content": {
              "application/fhir+json": {
                "schema": {
                  "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/Account"
                }
              },
              "application/fhir+xml": {
                "schema": {
                  "$ref": "http://hl7.org/fhir/STU3/Account.xsd"
                }
              }
            }
          },
          "responses": {
            "default": {
              "description": "Error, with details",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/OperationOutcome"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/OperationOutcome.xsd"
                  }
                }
              }
            },
            "200": {
              "description": "the resource being returned after being updated",
              "headers": {
                "ETag": {
                  "description": "Version from Resource.meta.version as a weak ETag",
                  "schema": {
                    "type": "string"
                  }
                }
              },
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/Account"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/Account.xsd"
                  }
                }
              }
            }
          },
          "parameters": [
            {
              "$ref": "#/components/parameters/summary"
            },
            {
              "$ref": "#/components/parameters/format"
            },
            {
              "$ref": "#/components/parameters/pretty"
            },
            {
              "$ref": "#/components/parameters/elements"
            }
          ]
        }
      },
      "/Account/{rid}": {
        "summary": "Read/Write/etc resource instance of type Account",
        "description": "Access to services to manage the state of a single resource of type Account",
        "get": {
          "summary": "Read the current state of the resource",
          "operationId": "readAccount",
          "responses": {
            "default": {
              "description": "Error, with details",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/OperationOutcome"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/OperationOutcome.xsd"
                  }
                }
              }
            },
            "200": {
              "description": "the resource being returned",
              "headers": {
                "ETag": {
                  "description": "Version from Resource.meta.version as a weak ETag",
                  "schema": {
                    "type": "string"
                  }
                }
              },
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/Account"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/Account.xsd"
                  }
                }
              }
            }
          },
          "parameters": [
            {
              "$ref": "#/components/parameters/rid"
            },
            {
              "$ref": "#/components/parameters/summary"
            },
            {
              "$ref": "#/components/parameters/format"
            },
            {
              "$ref": "#/components/parameters/pretty"
            },
            {
              "$ref": "#/components/parameters/elements"
            }
          ]
        },
        "put": {
          "summary": "Update the current state of the resource",
          "operationId": "updateAccount",
          "requestBody": {
            "description": "The new state of the resource",
            "required": true,
            "content": {
              "application/fhir+json": {
                "schema": {
                  "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/Account"
                }
              },
              "application/fhir+xml": {
                "schema": {
                  "$ref": "http://hl7.org/fhir/STU3/Account.xsd"
                }
              }
            }
          },
          "responses": {
            "default": {
              "description": "Error, with details",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/OperationOutcome"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/OperationOutcome.xsd"
                  }
                }
              }
            },
            "200": {
              "description": "the resource being returned after being updated",
              "headers": {
                "ETag": {
                  "description": "Version from Resource.meta.version as a weak ETag",
                  "schema": {
                    "type": "string"
                  }
                }
              },
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/Account"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/Account.xsd"
                  }
                }
              }
            }
          },
          "parameters": [
            {
              "$ref": "#/components/parameters/rid"
            },
            {
              "$ref": "#/components/parameters/summary"
            },
            {
              "$ref": "#/components/parameters/format"
            },
            {
              "$ref": "#/components/parameters/pretty"
            },
            {
              "$ref": "#/components/parameters/elements"
            }
          ]
        },
        "delete": {
          "summary": "Delete the resource so that it no exists (no read, search etc)",
          "operationId": "deleteAccount",
          "responses": {
            "default": {
              "description": "Error, with details",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/OperationOutcome"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/OperationOutcome.xsd"
                  }
                }
              }
            },
            "204": {
              "description": "If the resource is deleted - no content is returned",
              "headers": {
                "ETag": {
                  "description": "Version from Resource.meta.version as a weak ETag",
                  "schema": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "parameters": [
            {
              "$ref": "#/components/parameters/rid"
            }
          ]
        }
      },
      "/Account/{rid}/_history": {
        "summary": "Read past versions of resource instance of type Account",
        "description": "Access to previous versions of a single resource of type Account",
        "get": {
          "summary": "Read the past states of the resource",
          "operationId": "histinstAccount",
          "responses": {
            "default": {
              "description": "Error, with details",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/OperationOutcome"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/OperationOutcome.xsd"
                  }
                }
              }
            },
            "200": {
              "description": "the resources being returned",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/Bundle"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/Bundle.xsd"
                  }
                }
              }
            }
          },
          "parameters": [
            {
              "$ref": "#/components/parameters/rid"
            },
            {
              "$ref": "#/components/parameters/summary"
            },
            {
              "$ref": "#/components/parameters/format"
            },
            {
              "$ref": "#/components/parameters/pretty"
            },
            {
              "$ref": "#/components/parameters/elements"
            },
            {
              "$ref": "#/components/parameters/count"
            },
            {
              "name": "_since",
              "in": "query",
              "description": "Only include resource versions that were created at or after the given instant in time",
              "schema": {
                "type": "string",
                "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"
              }
            },
            {
              "name": "_at",
              "in": "query",
              "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)",
              "schema": {
                "type": "string",
                "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"
              }
            },
            {
              "name": "_list",
              "in": "query",
              "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)",
              "schema": {
                "type": "string"
              }
            }
          ]
        }
      },
      "/Account/{rid}/_history/{hid}": {
        "summary": "Read a past version of resource instance of type Account",
        "description": "Access a to specified previous version of a single resource of type Account",
        "get": {
          "summary": "Read a past state of the resource",
          "operationId": "vreadAccount",
          "responses": {
            "default": {
              "description": "Error, with details",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/OperationOutcome"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/OperationOutcome.xsd"
                  }
                }
              }
            },
            "200": {
              "description": "the resource being returned",
              "headers": {
                "ETag": {
                  "description": "Version from Resource.meta.version as a weak ETag for that version",
                  "schema": {
                    "type": "string"
                  }
                }
              },
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/Account"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/Account.xsd"
                  }
                }
              }
            }
          },
          "parameters": [
            {
              "$ref": "#/components/parameters/rid"
            },
            {
              "$ref": "#/components/parameters/hid"
            },
            {
              "$ref": "#/components/parameters/summary"
            },
            {
              "$ref": "#/components/parameters/format"
            },
            {
              "$ref": "#/components/parameters/pretty"
            },
            {
              "$ref": "#/components/parameters/elements"
            }
          ]
        }
      },
      "/Account/_history": {
        "summary": "Read past versions of resources of type Account",
        "description": "Access to previous versions of resourcez of type Account",
        "get": {
          "summary": "Read the past states of the resource",
          "operationId": "histtypeAccount",
          "responses": {
            "default": {
              "description": "Error, with details",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/OperationOutcome"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/OperationOutcome.xsd"
                  }
                }
              }
            },
            "200": {
              "description": "the resources being returned",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/Bundle"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/Bundle.xsd"
                  }
                }
              }
            }
          },
          "parameters": [
            {
              "$ref": "#/components/parameters/summary"
            },
            {
              "$ref": "#/components/parameters/format"
            },
            {
              "$ref": "#/components/parameters/pretty"
            },
            {
              "$ref": "#/components/parameters/elements"
            },
            {
              "$ref": "#/components/parameters/count"
            },
            {
              "name": "_since",
              "in": "query",
              "description": "Only include resource versions that were created at or after the given instant in time",
              "schema": {
                "type": "string",
                "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"
              }
            },
            {
              "name": "_at",
              "in": "query",
              "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)",
              "schema": {
                "type": "string",
                "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"
              }
            },
            {
              "name": "_list",
              "in": "query",
              "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)",
              "schema": {
                "type": "string"
              }
            }
          ]
        }
      },
      "/_history": {
        "summary": "Read a past version of resource instance of all types",
        "description": "Access a previous versions of all types",
        "get": {
          "summary": "Read the past states of all resources",
          "operationId": "histAll",
          "responses": {
            "default": {
              "description": "Error, with details",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/OperationOutcome"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/OperationOutcome.xsd"
                  }
                }
              }
            },
            "200": {
              "description": "the resources being returned",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/Bundle"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/Bundle.xsd"
                  }
                }
              }
            }
          },
          "parameters": [
            {
              "$ref": "#/components/parameters/summary"
            },
            {
              "$ref": "#/components/parameters/format"
            },
            {
              "$ref": "#/components/parameters/pretty"
            },
            {
              "$ref": "#/components/parameters/elements"
            },
            {
              "$ref": "#/components/parameters/count"
            },
            {
              "name": "_since",
              "in": "query",
              "description": "Only include resource versions that were created at or after the given instant in time",
              "schema": {
                "type": "string",
                "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"
              }
            },
            {
              "name": "_at",
              "in": "query",
              "description": "Only include resource versions that were current at some point during the time period specified in the date time value (see Search notes on date searching)",
              "schema": {
                "type": "string",
                "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"
              }
            },
            {
              "name": "_list",
              "in": "query",
              "description": "Only include resource versions that are referenced in the specified list (current list references are allowed)",
              "schema": {
                "type": "string"
              }
            }
          ]
        }
      },
      "/": {
        "summary": "System level operations",
        "description": "System level operations",
        "get": {
          "summary": "Search all resources of all types based on a set of criteria",
          "operationId": "searchAll",
          "responses": {
            "default": {
              "description": "Error, with details",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/OperationOutcome"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/OperationOutcome.xsd"
                  }
                }
              }
            },
            "200": {
              "description": "the resource being returned",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/Bundle"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/Bundle.xsd"
                  }
                }
              }
            }
          },
          "parameters": [
            {
              "$ref": "#/components/parameters/format"
            },
            {
              "$ref": "#/components/parameters/pretty"
            },
            {
              "$ref": "#/components/parameters/summary"
            },
            {
              "$ref": "#/components/parameters/elements"
            },
            {
              "name": "_text",
              "in": "query",
              "description": "Search on the narrative of the resource",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "something",
              "in": "query",
              "description": "some doco",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "_list",
              "in": "query",
              "description": "Retrieval of resources that are referenced by a List resource",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "_has",
              "in": "query",
              "description": "Provides support for reverse chaining",
              "schema": {}
            },
            {
              "name": "_type",
              "in": "query",
              "description": "Type of resource (when doing cross-resource search",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "_sort",
              "in": "query",
              "description": "Identifies where the resource comes from",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "_count",
              "in": "query",
              "description": "How many resources to return",
              "schema": {
                "type": "number"
              }
            },
            {
              "name": "_include",
              "in": "query",
              "description": "Control over returning additional resources (see spec)",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "_revinclude",
              "in": "query",
              "description": "Control over returning additional resources (see spec)",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "_contained",
              "in": "query",
              "description": "Managing search into contained resources",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "_containedType",
              "in": "query",
              "description": "Managing search into contained resources",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "_query",
              "in": "query",
              "description": "A custom search profile that describes a specific defined query operation",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "_profile",
              "in": "query",
              "description": "Profiles this resource claims to conform to",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "_lastUpdated",
              "in": "query",
              "description": "When the resource version last changed",
              "schema": {
                "type": "string",
                "pattern": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"
              }
            },
            {
              "name": "_tag",
              "in": "query",
              "description": "Tags applied to this resource",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "_security",
              "in": "query",
              "description": "Security Labels applied to this resource",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "_source",
              "in": "query",
              "description": "Identifies where the resource comes from",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "_id",
              "in": "query",
              "description": "Logical id of this artifact",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "_content",
              "in": "query",
              "description": "Search on the entire content of the resource",
              "schema": {
                "type": "string"
              }
            }
          ]
        },
        "post": {
          "summary": "Batch or Transaction",
          "operationId": "transaction",
          "requestBody": {
            "description": "The batch or transaction",
            "required": true,
            "content": {
              "application/fhir+json": {
                "schema": {
                  "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/Bundle"
                }
              },
              "application/fhir+xml": {
                "schema": {
                  "$ref": "http://hl7.org/fhir/STU3/Bundle.xsd"
                }
              }
            }
          },
          "responses": {
            "default": {
              "description": "Error, with details",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/OperationOutcome"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/OperationOutcome.xsd"
                  }
                }
              }
            },
            "200": {
              "description": "Batch or Transaction response",
              "content": {
                "application/fhir+json": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/fhir.schema.json#/definitions/Bundle"
                  }
                },
                "application/fhir+xml": {
                  "schema": {
                    "$ref": "http://hl7.org/fhir/STU3/Bundle.xsd"
                  }
                }
              }
            }
          },
          "parameters": [
            {
              "$ref": "#/components/parameters/format"
            },
            {
              "$ref": "#/components/parameters/pretty"
            }
          ]
        }
      }
    },
    "components": {
      "parameters": {
        "rid": {
          "name": "rid",
          "in": "path",
          "description": "id of the resource (\u003dResource.id)",
          "required": true,
          "allowEmptyValue": false,
          "style": "simple",
          "schema": {
            "type": "string"
          }
        },
        "hid": {
          "name": "hid",
          "in": "path",
          "description": "id of the history entry (\u003dResource.meta.versionId)",
          "required": true,
          "allowEmptyValue": false,
          "style": "simple",
          "schema": {
            "type": "string"
          }
        },
        "summary": {
          "name": "_summary",
          "in": "query",
          "description": "Requests the server to return a designated subset of the resource",
          "allowEmptyValue": true,
          "style": "form",
          "schema": {
            "type": "string",
            "enum": [
              "true",
              "text",
              "data",
              "count",
              "false"
            ]
          }
        },
        "format": {
          "name": "_format",
          "in": "query",
          "description": "Specify alternative response formats by their MIME-types (when a client is unable acccess accept: header)",
          "allowEmptyValue": true,
          "style": "form",
          "schema": {
            "type": "string",
            "format": "mime-type"
          }
        },
        "pretty": {
          "name": "_pretty",
          "in": "query",
          "description": "Ask for a pretty printed response for human convenience",
          "allowEmptyValue": true,
          "style": "form",
          "schema": {
            "type": "boolean"
          }
        },
        "elements": {
          "name": "_elements",
          "in": "query",
          "description": "Requests the server to return a collection of elements from the resource",
          "allowEmptyValue": true,
          "style": "form",
          "explode": false,
          "schema": {
            "type": "array",
            "format": "string",
            "items": {
              "format": "string"
            }
          }
        },
        "count": {
          "name": "_count",
          "in": "query",
          "description": "The maximum number of search results on a page. The server is not bound to return the number requested, but cannot return more",
          "schema": {
            "type": "number"
          }
        }
      }
    }
  }