openapi: 3.0.1
info:
  title: HAPI FHIR Server
  contact: {}
  version: 8.6.1
servers:
- url: https://fhir.phtech.com/php/provider/v1/fhir
  description: HAPI FHIR Server
tags:
- name: System Level Operations
  description: Server-level operations
- name: Endpoint
  description: "The Endpoint FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/Endpoint<br/>Supported\
    \ profile: http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Endpoint"
- name: HealthcareService
  description: "The HealthcareService FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/HealthcareService<br/>Supported\
    \ profile: http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-HealthcareService"
- name: InsurancePlan
  description: "The InsurancePlan FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/InsurancePlan<br/>Supported\
    \ profile: http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-InsurancePlan"
- name: Location
  description: "The Location FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/Location<br/>Supported\
    \ profile: http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Location"
- name: Organization
  description: "The Organization FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/Organization<br/>Supported\
    \ profile: http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Network<br/>Supported\
    \ profile: http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Organization"
- name: OrganizationAffiliation
  description: "The OrganizationAffiliation FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/OrganizationAffiliation<br/>Supported\
    \ profile: http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-OrganizationAffiliation"
- name: Practitioner
  description: "The Practitioner FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/Practitioner<br/>Supported\
    \ profile: http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Practitioner"
- name: PractitionerRole
  description: "The PractitionerRole FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/PractitionerRole<br/>Supported\
    \ profile: http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-PractitionerRole"
paths:
  /metadata:
    get:
      tags:
      - System Level Operations
      summary: "server-capabilities: Fetch the server FHIR CapabilityStatement"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
              example: |-
                {
                  "resourceType": "CapabilityStatement"
                }
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
              example: <CapabilityStatement xmlns="http://hl7.org/fhir"/>
  /:
    post:
      tags:
      - System Level Operations
      summary: "server-transaction: Execute a FHIR Transaction (or FHIR Batch) Bundle"
      requestBody:
        content:
          application/fhir+json:
            schema:
              $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
          application/fhir+xml:
            schema:
              $ref: "#/components/schemas/FHIR-XML-RESOURCE"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /_history:
    get:
      tags:
      - System Level Operations
      summary: "server-history: Fetch the resource change history across all resource\
        \ types on the server"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /$diff:
    get:
      tags:
      - System Level Operations
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      parameters:
      - name: from
        in: query
        description: The resource ID and version to diff from
        required: true
        schema:
          type: string
        example: Patient/example/version/1
      - name: to
        in: query
        description: The resource ID and version to diff to
        required: true
        schema:
          type: string
        example: Patient/example/version/2
      - name: includeMeta
        in: query
        description: Should differences in the Resource.meta element be included in
          the diff
        required: false
        schema:
          type: string
        example: "false"
      - name: fromVersion
        in: query
        description: The resource ID and version to diff from
        required: false
        schema:
          type: string
        example: Patient/example/version/1
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - System Level Operations
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "from"
                }, {
                  "name": "to"
                }, {
                  "name": "includeMeta",
                  "valueBoolean": false
                }, {
                  "name": "fromVersion",
                  "valueString": "example"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /$reindex:
    post:
      tags:
      - System Level Operations
      summary: "POST: /$reindex"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "url",
                  "valueString": "example"
                }, {
                  "name": "reindexSearchParameters",
                  "valueCode": "example"
                }, {
                  "name": "optimizeStorage",
                  "valueCode": "example"
                }, {
                  "name": "optimisticLock",
                  "valueBoolean": false
                }, {
                  "name": "correctCurrentVersion",
                  "valueCode": "example"
                }, {
                  "name": "batchSize",
                  "valueInteger": 0
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /$perform-reindexing-pass:
    post:
      tags:
      - System Level Operations
      summary: "POST: /$perform-reindexing-pass"
      description: Forces a single pass of the resource reindexing processor
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /$meta:
    get:
      tags:
      - System Level Operations
      summary: "GET: /$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - System Level Operations
      summary: "POST: /$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /$mark-all-resources-for-reindexing:
    post:
      tags:
      - System Level Operations
      summary: "POST: /$mark-all-resources-for-reindexing"
      description: "Marks all currently existing resources of a given type, or all\
        \ resources of all types, for reindexing."
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "type",
                  "valueCode": "example"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /$get-resource-counts:
    get:
      tags:
      - System Level Operations
      summary: "Provides the number of resources currently stored on the server, broken\
        \ down by resource type"
      description: "Provides the number of resources currently stored on the server,\
        \ broken down by resource type"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - System Level Operations
      summary: "Provides the number of resources currently stored on the server, broken\
        \ down by resource type"
      description: "Provides the number of resources currently stored on the server,\
        \ broken down by resource type"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /$expunge:
    post:
      tags:
      - System Level Operations
      summary: "POST: /$expunge"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "limit",
                  "valueInteger": 0
                }, {
                  "name": "expungeDeletedResources",
                  "valueBoolean": false
                }, {
                  "name": "expungePreviousVersions",
                  "valueBoolean": false
                }, {
                  "name": "expungeEverything",
                  "valueBoolean": false
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /$reindex-terminology:
    post:
      tags:
      - System Level Operations
      summary: "POST: /$reindex-terminology"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /$hapi.fhir.undo-replace-references:
    post:
      tags:
      - System Level Operations
      summary: Restores references from target back to source for resources that were
        previously updated by a $hapi.fhir.replace-references operation.
      description: This operation undoes the effects of a previous $hapi.fhir.replace-references
        operation by restoring references that were replaced from the target back
        to the original source.
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "source-reference-id",
                  "valueString": "example"
                }, {
                  "name": "target-reference-id",
                  "valueString": "example"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /$hapi.fhir.replace-references:
    post:
      tags:
      - System Level Operations
      summary: Repoints referencing resources to another resources instance
      description: This operation searches for all references matching the provided
        id and updates them to references to the provided target-reference-id.
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "source-reference-id",
                  "valueString": "example"
                }, {
                  "name": "target-reference-id",
                  "valueString": "example"
                }, {
                  "name": "resource-limit"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Endpoint/{id}:
    get:
      tags:
      - Endpoint
      summary: "read-instance: Read Endpoint instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Endpoint/{id}/_history/{version_id}:
    get:
      tags:
      - Endpoint
      summary: "vread-instance: Read Endpoint instance with specific version"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: version_id
        in: path
        description: The resource version ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "1"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Endpoint/$validate:
    get:
      tags:
      - Endpoint
      summary: "GET: /Endpoint/$validate"
      parameters:
      - name: mode
        in: query
        required: false
        schema:
          type: string
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Endpoint
      summary: "POST: /Endpoint/$validate"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "resource",
                  "resource": {
                    "resourceType": "Endpoint",
                    "id": "1"
                  }
                }, {
                  "name": "mode",
                  "valueCode": "example"
                }, {
                  "name": "profile"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Endpoint/{id}/$validate:
    get:
      tags:
      - Endpoint
      summary: "GET: /Endpoint/{id}/$validate"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: mode
        in: query
        required: false
        schema:
          type: string
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Endpoint
      summary: "POST: /Endpoint/{id}/$validate"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "resource",
                  "resource": {
                    "resourceType": "Endpoint",
                    "id": "1"
                  }
                }, {
                  "name": "mode",
                  "valueCode": "example"
                }, {
                  "name": "profile"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Endpoint/{id}/$meta-delete:
    post:
      tags:
      - Endpoint
      summary: "POST: /Endpoint/{id}/$meta-delete"
      description: "Delete tags, profiles, and/or security labels from a resource"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "meta"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Endpoint/{id}/$meta-add:
    post:
      tags:
      - Endpoint
      summary: "POST: /Endpoint/{id}/$meta-add"
      description: "Add tags, profiles, and/or security labels to a resource"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "meta"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Endpoint/$meta:
    get:
      tags:
      - Endpoint
      summary: "GET: /Endpoint/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Endpoint
      summary: "POST: /Endpoint/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Endpoint/{id}/$meta:
    get:
      tags:
      - Endpoint
      summary: "GET: /Endpoint/{id}/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Endpoint
      summary: "POST: /Endpoint/{id}/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Endpoint/$expunge:
    post:
      tags:
      - Endpoint
      summary: "POST: /Endpoint/$expunge"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "limit",
                  "valueInteger": 0
                }, {
                  "name": "expungeDeletedResources",
                  "valueBoolean": false
                }, {
                  "name": "expungePreviousVersions",
                  "valueBoolean": false
                }, {
                  "name": "expungeEverything",
                  "valueBoolean": false
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Endpoint/{id}/$expunge:
    post:
      tags:
      - Endpoint
      summary: "POST: /Endpoint/{id}/$expunge"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "limit",
                  "valueInteger": 0
                }, {
                  "name": "expungeDeletedResources",
                  "valueBoolean": false
                }, {
                  "name": "expungePreviousVersions",
                  "valueBoolean": false
                }, {
                  "name": "expungeEverything",
                  "valueBoolean": false
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Endpoint/{id}/$diff:
    get:
      tags:
      - Endpoint
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: from
        in: query
        description: The resource ID and version to diff from
        required: true
        schema:
          type: string
        example: Patient/example/version/1
      - name: to
        in: query
        description: The resource ID and version to diff to
        required: true
        schema:
          type: string
        example: Patient/example/version/2
      - name: includeMeta
        in: query
        description: Should differences in the Resource.meta element be included in
          the diff
        required: false
        schema:
          type: string
        example: "false"
      - name: fromVersion
        in: query
        description: The resource ID and version to diff from
        required: false
        schema:
          type: string
        example: Patient/example/version/1
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Endpoint
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "from"
                }, {
                  "name": "to"
                }, {
                  "name": "includeMeta",
                  "valueBoolean": false
                }, {
                  "name": "fromVersion",
                  "valueString": "example"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /HealthcareService/{id}:
    get:
      tags:
      - HealthcareService
      summary: "read-instance: Read HealthcareService instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /HealthcareService/{id}/_history/{version_id}:
    get:
      tags:
      - HealthcareService
      summary: "vread-instance: Read HealthcareService instance with specific version"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: version_id
        in: path
        description: The resource version ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "1"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /HealthcareService/$validate:
    get:
      tags:
      - HealthcareService
      summary: "GET: /HealthcareService/$validate"
      parameters:
      - name: mode
        in: query
        required: false
        schema:
          type: string
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - HealthcareService
      summary: "POST: /HealthcareService/$validate"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "resource",
                  "resource": {
                    "resourceType": "HealthcareService",
                    "id": "1"
                  }
                }, {
                  "name": "mode",
                  "valueCode": "example"
                }, {
                  "name": "profile"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /HealthcareService/{id}/$validate:
    get:
      tags:
      - HealthcareService
      summary: "GET: /HealthcareService/{id}/$validate"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: mode
        in: query
        required: false
        schema:
          type: string
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - HealthcareService
      summary: "POST: /HealthcareService/{id}/$validate"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "resource",
                  "resource": {
                    "resourceType": "HealthcareService",
                    "id": "1"
                  }
                }, {
                  "name": "mode",
                  "valueCode": "example"
                }, {
                  "name": "profile"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /HealthcareService/{id}/$meta-delete:
    post:
      tags:
      - HealthcareService
      summary: "POST: /HealthcareService/{id}/$meta-delete"
      description: "Delete tags, profiles, and/or security labels from a resource"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "meta"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /HealthcareService/{id}/$meta-add:
    post:
      tags:
      - HealthcareService
      summary: "POST: /HealthcareService/{id}/$meta-add"
      description: "Add tags, profiles, and/or security labels to a resource"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "meta"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /HealthcareService/$meta:
    get:
      tags:
      - HealthcareService
      summary: "GET: /HealthcareService/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - HealthcareService
      summary: "POST: /HealthcareService/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /HealthcareService/{id}/$meta:
    get:
      tags:
      - HealthcareService
      summary: "GET: /HealthcareService/{id}/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - HealthcareService
      summary: "POST: /HealthcareService/{id}/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /HealthcareService/$expunge:
    post:
      tags:
      - HealthcareService
      summary: "POST: /HealthcareService/$expunge"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "limit",
                  "valueInteger": 0
                }, {
                  "name": "expungeDeletedResources",
                  "valueBoolean": false
                }, {
                  "name": "expungePreviousVersions",
                  "valueBoolean": false
                }, {
                  "name": "expungeEverything",
                  "valueBoolean": false
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /HealthcareService/{id}/$expunge:
    post:
      tags:
      - HealthcareService
      summary: "POST: /HealthcareService/{id}/$expunge"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "limit",
                  "valueInteger": 0
                }, {
                  "name": "expungeDeletedResources",
                  "valueBoolean": false
                }, {
                  "name": "expungePreviousVersions",
                  "valueBoolean": false
                }, {
                  "name": "expungeEverything",
                  "valueBoolean": false
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /HealthcareService/{id}/$diff:
    get:
      tags:
      - HealthcareService
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: from
        in: query
        description: The resource ID and version to diff from
        required: true
        schema:
          type: string
        example: Patient/example/version/1
      - name: to
        in: query
        description: The resource ID and version to diff to
        required: true
        schema:
          type: string
        example: Patient/example/version/2
      - name: includeMeta
        in: query
        description: Should differences in the Resource.meta element be included in
          the diff
        required: false
        schema:
          type: string
        example: "false"
      - name: fromVersion
        in: query
        description: The resource ID and version to diff from
        required: false
        schema:
          type: string
        example: Patient/example/version/1
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - HealthcareService
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "from"
                }, {
                  "name": "to"
                }, {
                  "name": "includeMeta",
                  "valueBoolean": false
                }, {
                  "name": "fromVersion",
                  "valueString": "example"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /InsurancePlan/{id}:
    get:
      tags:
      - InsurancePlan
      summary: "read-instance: Read InsurancePlan instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /InsurancePlan/{id}/_history/{version_id}:
    get:
      tags:
      - InsurancePlan
      summary: "vread-instance: Read InsurancePlan instance with specific version"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: version_id
        in: path
        description: The resource version ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "1"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /InsurancePlan/$validate:
    get:
      tags:
      - InsurancePlan
      summary: "GET: /InsurancePlan/$validate"
      parameters:
      - name: mode
        in: query
        required: false
        schema:
          type: string
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - InsurancePlan
      summary: "POST: /InsurancePlan/$validate"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "resource",
                  "resource": {
                    "resourceType": "InsurancePlan",
                    "id": "1"
                  }
                }, {
                  "name": "mode",
                  "valueCode": "example"
                }, {
                  "name": "profile"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /InsurancePlan/{id}/$validate:
    get:
      tags:
      - InsurancePlan
      summary: "GET: /InsurancePlan/{id}/$validate"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: mode
        in: query
        required: false
        schema:
          type: string
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - InsurancePlan
      summary: "POST: /InsurancePlan/{id}/$validate"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "resource",
                  "resource": {
                    "resourceType": "InsurancePlan",
                    "id": "1"
                  }
                }, {
                  "name": "mode",
                  "valueCode": "example"
                }, {
                  "name": "profile"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /InsurancePlan/{id}/$meta-delete:
    post:
      tags:
      - InsurancePlan
      summary: "POST: /InsurancePlan/{id}/$meta-delete"
      description: "Delete tags, profiles, and/or security labels from a resource"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "meta"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /InsurancePlan/{id}/$meta-add:
    post:
      tags:
      - InsurancePlan
      summary: "POST: /InsurancePlan/{id}/$meta-add"
      description: "Add tags, profiles, and/or security labels to a resource"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "meta"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /InsurancePlan/$meta:
    get:
      tags:
      - InsurancePlan
      summary: "GET: /InsurancePlan/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - InsurancePlan
      summary: "POST: /InsurancePlan/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /InsurancePlan/{id}/$meta:
    get:
      tags:
      - InsurancePlan
      summary: "GET: /InsurancePlan/{id}/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - InsurancePlan
      summary: "POST: /InsurancePlan/{id}/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /InsurancePlan/$expunge:
    post:
      tags:
      - InsurancePlan
      summary: "POST: /InsurancePlan/$expunge"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "limit",
                  "valueInteger": 0
                }, {
                  "name": "expungeDeletedResources",
                  "valueBoolean": false
                }, {
                  "name": "expungePreviousVersions",
                  "valueBoolean": false
                }, {
                  "name": "expungeEverything",
                  "valueBoolean": false
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /InsurancePlan/{id}/$expunge:
    post:
      tags:
      - InsurancePlan
      summary: "POST: /InsurancePlan/{id}/$expunge"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "limit",
                  "valueInteger": 0
                }, {
                  "name": "expungeDeletedResources",
                  "valueBoolean": false
                }, {
                  "name": "expungePreviousVersions",
                  "valueBoolean": false
                }, {
                  "name": "expungeEverything",
                  "valueBoolean": false
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /InsurancePlan/{id}/$diff:
    get:
      tags:
      - InsurancePlan
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: from
        in: query
        description: The resource ID and version to diff from
        required: true
        schema:
          type: string
        example: Patient/example/version/1
      - name: to
        in: query
        description: The resource ID and version to diff to
        required: true
        schema:
          type: string
        example: Patient/example/version/2
      - name: includeMeta
        in: query
        description: Should differences in the Resource.meta element be included in
          the diff
        required: false
        schema:
          type: string
        example: "false"
      - name: fromVersion
        in: query
        description: The resource ID and version to diff from
        required: false
        schema:
          type: string
        example: Patient/example/version/1
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - InsurancePlan
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "from"
                }, {
                  "name": "to"
                }, {
                  "name": "includeMeta",
                  "valueBoolean": false
                }, {
                  "name": "fromVersion",
                  "valueString": "example"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Location/{id}:
    get:
      tags:
      - Location
      summary: "read-instance: Read Location instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Location/{id}/_history/{version_id}:
    get:
      tags:
      - Location
      summary: "vread-instance: Read Location instance with specific version"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: version_id
        in: path
        description: The resource version ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "1"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Location/$validate:
    get:
      tags:
      - Location
      summary: "GET: /Location/$validate"
      parameters:
      - name: mode
        in: query
        required: false
        schema:
          type: string
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Location
      summary: "POST: /Location/$validate"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "resource",
                  "resource": {
                    "resourceType": "Location",
                    "id": "1"
                  }
                }, {
                  "name": "mode",
                  "valueCode": "example"
                }, {
                  "name": "profile"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Location/{id}/$validate:
    get:
      tags:
      - Location
      summary: "GET: /Location/{id}/$validate"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: mode
        in: query
        required: false
        schema:
          type: string
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Location
      summary: "POST: /Location/{id}/$validate"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "resource",
                  "resource": {
                    "resourceType": "Location",
                    "id": "1"
                  }
                }, {
                  "name": "mode",
                  "valueCode": "example"
                }, {
                  "name": "profile"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Location/{id}/$meta-delete:
    post:
      tags:
      - Location
      summary: "POST: /Location/{id}/$meta-delete"
      description: "Delete tags, profiles, and/or security labels from a resource"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "meta"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Location/{id}/$meta-add:
    post:
      tags:
      - Location
      summary: "POST: /Location/{id}/$meta-add"
      description: "Add tags, profiles, and/or security labels to a resource"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "meta"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Location/$meta:
    get:
      tags:
      - Location
      summary: "GET: /Location/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Location
      summary: "POST: /Location/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Location/{id}/$meta:
    get:
      tags:
      - Location
      summary: "GET: /Location/{id}/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Location
      summary: "POST: /Location/{id}/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Location/$expunge:
    post:
      tags:
      - Location
      summary: "POST: /Location/$expunge"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "limit",
                  "valueInteger": 0
                }, {
                  "name": "expungeDeletedResources",
                  "valueBoolean": false
                }, {
                  "name": "expungePreviousVersions",
                  "valueBoolean": false
                }, {
                  "name": "expungeEverything",
                  "valueBoolean": false
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Location/{id}/$expunge:
    post:
      tags:
      - Location
      summary: "POST: /Location/{id}/$expunge"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "limit",
                  "valueInteger": 0
                }, {
                  "name": "expungeDeletedResources",
                  "valueBoolean": false
                }, {
                  "name": "expungePreviousVersions",
                  "valueBoolean": false
                }, {
                  "name": "expungeEverything",
                  "valueBoolean": false
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Location/{id}/$diff:
    get:
      tags:
      - Location
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: from
        in: query
        description: The resource ID and version to diff from
        required: true
        schema:
          type: string
        example: Patient/example/version/1
      - name: to
        in: query
        description: The resource ID and version to diff to
        required: true
        schema:
          type: string
        example: Patient/example/version/2
      - name: includeMeta
        in: query
        description: Should differences in the Resource.meta element be included in
          the diff
        required: false
        schema:
          type: string
        example: "false"
      - name: fromVersion
        in: query
        description: The resource ID and version to diff from
        required: false
        schema:
          type: string
        example: Patient/example/version/1
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Location
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "from"
                }, {
                  "name": "to"
                }, {
                  "name": "includeMeta",
                  "valueBoolean": false
                }, {
                  "name": "fromVersion",
                  "valueString": "example"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Organization/{id}:
    get:
      tags:
      - Organization
      summary: "read-instance: Read Organization instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Organization/{id}/_history/{version_id}:
    get:
      tags:
      - Organization
      summary: "vread-instance: Read Organization instance with specific version"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: version_id
        in: path
        description: The resource version ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "1"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Organization/$validate:
    get:
      tags:
      - Organization
      summary: "GET: /Organization/$validate"
      parameters:
      - name: mode
        in: query
        required: false
        schema:
          type: string
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Organization
      summary: "POST: /Organization/$validate"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "resource",
                  "resource": {
                    "resourceType": "Organization",
                    "id": "1"
                  }
                }, {
                  "name": "mode",
                  "valueCode": "example"
                }, {
                  "name": "profile"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Organization/{id}/$validate:
    get:
      tags:
      - Organization
      summary: "GET: /Organization/{id}/$validate"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: mode
        in: query
        required: false
        schema:
          type: string
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Organization
      summary: "POST: /Organization/{id}/$validate"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "resource",
                  "resource": {
                    "resourceType": "Organization",
                    "id": "1"
                  }
                }, {
                  "name": "mode",
                  "valueCode": "example"
                }, {
                  "name": "profile"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Organization/{id}/$meta-delete:
    post:
      tags:
      - Organization
      summary: "POST: /Organization/{id}/$meta-delete"
      description: "Delete tags, profiles, and/or security labels from a resource"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "meta"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Organization/{id}/$meta-add:
    post:
      tags:
      - Organization
      summary: "POST: /Organization/{id}/$meta-add"
      description: "Add tags, profiles, and/or security labels to a resource"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "meta"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Organization/$meta:
    get:
      tags:
      - Organization
      summary: "GET: /Organization/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Organization
      summary: "POST: /Organization/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Organization/{id}/$meta:
    get:
      tags:
      - Organization
      summary: "GET: /Organization/{id}/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Organization
      summary: "POST: /Organization/{id}/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Organization/$expunge:
    post:
      tags:
      - Organization
      summary: "POST: /Organization/$expunge"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "limit",
                  "valueInteger": 0
                }, {
                  "name": "expungeDeletedResources",
                  "valueBoolean": false
                }, {
                  "name": "expungePreviousVersions",
                  "valueBoolean": false
                }, {
                  "name": "expungeEverything",
                  "valueBoolean": false
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Organization/{id}/$expunge:
    post:
      tags:
      - Organization
      summary: "POST: /Organization/{id}/$expunge"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "limit",
                  "valueInteger": 0
                }, {
                  "name": "expungeDeletedResources",
                  "valueBoolean": false
                }, {
                  "name": "expungePreviousVersions",
                  "valueBoolean": false
                }, {
                  "name": "expungeEverything",
                  "valueBoolean": false
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Organization/{id}/$diff:
    get:
      tags:
      - Organization
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: from
        in: query
        description: The resource ID and version to diff from
        required: true
        schema:
          type: string
        example: Patient/example/version/1
      - name: to
        in: query
        description: The resource ID and version to diff to
        required: true
        schema:
          type: string
        example: Patient/example/version/2
      - name: includeMeta
        in: query
        description: Should differences in the Resource.meta element be included in
          the diff
        required: false
        schema:
          type: string
        example: "false"
      - name: fromVersion
        in: query
        description: The resource ID and version to diff from
        required: false
        schema:
          type: string
        example: Patient/example/version/1
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Organization
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "from"
                }, {
                  "name": "to"
                }, {
                  "name": "includeMeta",
                  "valueBoolean": false
                }, {
                  "name": "fromVersion",
                  "valueString": "example"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /OrganizationAffiliation/{id}:
    get:
      tags:
      - OrganizationAffiliation
      summary: "read-instance: Read OrganizationAffiliation instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /OrganizationAffiliation/{id}/_history/{version_id}:
    get:
      tags:
      - OrganizationAffiliation
      summary: "vread-instance: Read OrganizationAffiliation instance with specific\
        \ version"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: version_id
        in: path
        description: The resource version ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "1"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /OrganizationAffiliation/$validate:
    get:
      tags:
      - OrganizationAffiliation
      summary: "GET: /OrganizationAffiliation/$validate"
      parameters:
      - name: mode
        in: query
        required: false
        schema:
          type: string
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - OrganizationAffiliation
      summary: "POST: /OrganizationAffiliation/$validate"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "resource",
                  "resource": {
                    "resourceType": "OrganizationAffiliation",
                    "id": "1"
                  }
                }, {
                  "name": "mode",
                  "valueCode": "example"
                }, {
                  "name": "profile"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /OrganizationAffiliation/{id}/$validate:
    get:
      tags:
      - OrganizationAffiliation
      summary: "GET: /OrganizationAffiliation/{id}/$validate"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: mode
        in: query
        required: false
        schema:
          type: string
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - OrganizationAffiliation
      summary: "POST: /OrganizationAffiliation/{id}/$validate"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "resource",
                  "resource": {
                    "resourceType": "OrganizationAffiliation",
                    "id": "1"
                  }
                }, {
                  "name": "mode",
                  "valueCode": "example"
                }, {
                  "name": "profile"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /OrganizationAffiliation/{id}/$meta-delete:
    post:
      tags:
      - OrganizationAffiliation
      summary: "POST: /OrganizationAffiliation/{id}/$meta-delete"
      description: "Delete tags, profiles, and/or security labels from a resource"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "meta"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /OrganizationAffiliation/{id}/$meta-add:
    post:
      tags:
      - OrganizationAffiliation
      summary: "POST: /OrganizationAffiliation/{id}/$meta-add"
      description: "Add tags, profiles, and/or security labels to a resource"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "meta"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /OrganizationAffiliation/$meta:
    get:
      tags:
      - OrganizationAffiliation
      summary: "GET: /OrganizationAffiliation/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - OrganizationAffiliation
      summary: "POST: /OrganizationAffiliation/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /OrganizationAffiliation/{id}/$meta:
    get:
      tags:
      - OrganizationAffiliation
      summary: "GET: /OrganizationAffiliation/{id}/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - OrganizationAffiliation
      summary: "POST: /OrganizationAffiliation/{id}/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /OrganizationAffiliation/$expunge:
    post:
      tags:
      - OrganizationAffiliation
      summary: "POST: /OrganizationAffiliation/$expunge"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "limit",
                  "valueInteger": 0
                }, {
                  "name": "expungeDeletedResources",
                  "valueBoolean": false
                }, {
                  "name": "expungePreviousVersions",
                  "valueBoolean": false
                }, {
                  "name": "expungeEverything",
                  "valueBoolean": false
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /OrganizationAffiliation/{id}/$expunge:
    post:
      tags:
      - OrganizationAffiliation
      summary: "POST: /OrganizationAffiliation/{id}/$expunge"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "limit",
                  "valueInteger": 0
                }, {
                  "name": "expungeDeletedResources",
                  "valueBoolean": false
                }, {
                  "name": "expungePreviousVersions",
                  "valueBoolean": false
                }, {
                  "name": "expungeEverything",
                  "valueBoolean": false
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /OrganizationAffiliation/{id}/$diff:
    get:
      tags:
      - OrganizationAffiliation
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: from
        in: query
        description: The resource ID and version to diff from
        required: true
        schema:
          type: string
        example: Patient/example/version/1
      - name: to
        in: query
        description: The resource ID and version to diff to
        required: true
        schema:
          type: string
        example: Patient/example/version/2
      - name: includeMeta
        in: query
        description: Should differences in the Resource.meta element be included in
          the diff
        required: false
        schema:
          type: string
        example: "false"
      - name: fromVersion
        in: query
        description: The resource ID and version to diff from
        required: false
        schema:
          type: string
        example: Patient/example/version/1
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - OrganizationAffiliation
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "from"
                }, {
                  "name": "to"
                }, {
                  "name": "includeMeta",
                  "valueBoolean": false
                }, {
                  "name": "fromVersion",
                  "valueString": "example"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Practitioner/{id}:
    get:
      tags:
      - Practitioner
      summary: "read-instance: Read Practitioner instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Practitioner/{id}/_history/{version_id}:
    get:
      tags:
      - Practitioner
      summary: "vread-instance: Read Practitioner instance with specific version"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: version_id
        in: path
        description: The resource version ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "1"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Practitioner/$validate:
    get:
      tags:
      - Practitioner
      summary: "GET: /Practitioner/$validate"
      parameters:
      - name: mode
        in: query
        required: false
        schema:
          type: string
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Practitioner
      summary: "POST: /Practitioner/$validate"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "resource",
                  "resource": {
                    "resourceType": "Practitioner",
                    "id": "1"
                  }
                }, {
                  "name": "mode",
                  "valueCode": "example"
                }, {
                  "name": "profile"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Practitioner/{id}/$validate:
    get:
      tags:
      - Practitioner
      summary: "GET: /Practitioner/{id}/$validate"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: mode
        in: query
        required: false
        schema:
          type: string
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Practitioner
      summary: "POST: /Practitioner/{id}/$validate"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "resource",
                  "resource": {
                    "resourceType": "Practitioner",
                    "id": "1"
                  }
                }, {
                  "name": "mode",
                  "valueCode": "example"
                }, {
                  "name": "profile"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Practitioner/{id}/$meta-delete:
    post:
      tags:
      - Practitioner
      summary: "POST: /Practitioner/{id}/$meta-delete"
      description: "Delete tags, profiles, and/or security labels from a resource"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "meta"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Practitioner/{id}/$meta-add:
    post:
      tags:
      - Practitioner
      summary: "POST: /Practitioner/{id}/$meta-add"
      description: "Add tags, profiles, and/or security labels to a resource"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "meta"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Practitioner/$meta:
    get:
      tags:
      - Practitioner
      summary: "GET: /Practitioner/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Practitioner
      summary: "POST: /Practitioner/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Practitioner/{id}/$meta:
    get:
      tags:
      - Practitioner
      summary: "GET: /Practitioner/{id}/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Practitioner
      summary: "POST: /Practitioner/{id}/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Practitioner/$expunge:
    post:
      tags:
      - Practitioner
      summary: "POST: /Practitioner/$expunge"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "limit",
                  "valueInteger": 0
                }, {
                  "name": "expungeDeletedResources",
                  "valueBoolean": false
                }, {
                  "name": "expungePreviousVersions",
                  "valueBoolean": false
                }, {
                  "name": "expungeEverything",
                  "valueBoolean": false
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Practitioner/{id}/$expunge:
    post:
      tags:
      - Practitioner
      summary: "POST: /Practitioner/{id}/$expunge"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "limit",
                  "valueInteger": 0
                }, {
                  "name": "expungeDeletedResources",
                  "valueBoolean": false
                }, {
                  "name": "expungePreviousVersions",
                  "valueBoolean": false
                }, {
                  "name": "expungeEverything",
                  "valueBoolean": false
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /Practitioner/{id}/$diff:
    get:
      tags:
      - Practitioner
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: from
        in: query
        description: The resource ID and version to diff from
        required: true
        schema:
          type: string
        example: Patient/example/version/1
      - name: to
        in: query
        description: The resource ID and version to diff to
        required: true
        schema:
          type: string
        example: Patient/example/version/2
      - name: includeMeta
        in: query
        description: Should differences in the Resource.meta element be included in
          the diff
        required: false
        schema:
          type: string
        example: "false"
      - name: fromVersion
        in: query
        description: The resource ID and version to diff from
        required: false
        schema:
          type: string
        example: Patient/example/version/1
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - Practitioner
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "from"
                }, {
                  "name": "to"
                }, {
                  "name": "includeMeta",
                  "valueBoolean": false
                }, {
                  "name": "fromVersion",
                  "valueString": "example"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /PractitionerRole/{id}:
    get:
      tags:
      - PractitionerRole
      summary: "read-instance: Read PractitionerRole instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /PractitionerRole/{id}/_history/{version_id}:
    get:
      tags:
      - PractitionerRole
      summary: "vread-instance: Read PractitionerRole instance with specific version"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: version_id
        in: path
        description: The resource version ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "1"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /PractitionerRole/$validate:
    get:
      tags:
      - PractitionerRole
      summary: "GET: /PractitionerRole/$validate"
      parameters:
      - name: mode
        in: query
        required: false
        schema:
          type: string
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - PractitionerRole
      summary: "POST: /PractitionerRole/$validate"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "resource",
                  "resource": {
                    "resourceType": "PractitionerRole",
                    "id": "1"
                  }
                }, {
                  "name": "mode",
                  "valueCode": "example"
                }, {
                  "name": "profile"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /PractitionerRole/{id}/$validate:
    get:
      tags:
      - PractitionerRole
      summary: "GET: /PractitionerRole/{id}/$validate"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: mode
        in: query
        required: false
        schema:
          type: string
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - PractitionerRole
      summary: "POST: /PractitionerRole/{id}/$validate"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "resource",
                  "resource": {
                    "resourceType": "PractitionerRole",
                    "id": "1"
                  }
                }, {
                  "name": "mode",
                  "valueCode": "example"
                }, {
                  "name": "profile"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /PractitionerRole/{id}/$meta-delete:
    post:
      tags:
      - PractitionerRole
      summary: "POST: /PractitionerRole/{id}/$meta-delete"
      description: "Delete tags, profiles, and/or security labels from a resource"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "meta"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /PractitionerRole/{id}/$meta-add:
    post:
      tags:
      - PractitionerRole
      summary: "POST: /PractitionerRole/{id}/$meta-add"
      description: "Add tags, profiles, and/or security labels to a resource"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "meta"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /PractitionerRole/$meta:
    get:
      tags:
      - PractitionerRole
      summary: "GET: /PractitionerRole/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - PractitionerRole
      summary: "POST: /PractitionerRole/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /PractitionerRole/{id}/$meta:
    get:
      tags:
      - PractitionerRole
      summary: "GET: /PractitionerRole/{id}/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - PractitionerRole
      summary: "POST: /PractitionerRole/{id}/$meta"
      description: "Request a list of tags, profiles, and security labels for a specfic\
        \ resource instance"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters"
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /PractitionerRole/$expunge:
    post:
      tags:
      - PractitionerRole
      summary: "POST: /PractitionerRole/$expunge"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "limit",
                  "valueInteger": 0
                }, {
                  "name": "expungeDeletedResources",
                  "valueBoolean": false
                }, {
                  "name": "expungePreviousVersions",
                  "valueBoolean": false
                }, {
                  "name": "expungeEverything",
                  "valueBoolean": false
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /PractitionerRole/{id}/$expunge:
    post:
      tags:
      - PractitionerRole
      summary: "POST: /PractitionerRole/{id}/$expunge"
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "limit",
                  "valueInteger": 0
                }, {
                  "name": "expungeDeletedResources",
                  "valueBoolean": false
                }, {
                  "name": "expungePreviousVersions",
                  "valueBoolean": false
                }, {
                  "name": "expungeEverything",
                  "valueBoolean": false
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
  /PractitionerRole/{id}/$diff:
    get:
      tags:
      - PractitionerRole
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: from
        in: query
        description: The resource ID and version to diff from
        required: true
        schema:
          type: string
        example: Patient/example/version/1
      - name: to
        in: query
        description: The resource ID and version to diff to
        required: true
        schema:
          type: string
        example: Patient/example/version/2
      - name: includeMeta
        in: query
        description: Should differences in the Resource.meta element be included in
          the diff
        required: false
        schema:
          type: string
        example: "false"
      - name: fromVersion
        in: query
        description: The resource ID and version to diff from
        required: false
        schema:
          type: string
        example: Patient/example/version/1
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
    post:
      tags:
      - PractitionerRole
      summary: Comparte two resources or two versions of a single resource
      description: "This operation examines two resource versions (can be two versions\
        \ of the same resource, or two different resources) and generates a FHIR Patch\
        \ document showing the differences."
      parameters:
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "from"
                }, {
                  "name": "to"
                }, {
                  "name": "includeMeta",
                  "valueBoolean": false
                }, {
                  "name": "fromVersion",
                  "valueString": "example"
                } ]
              }
      responses:
        "200":
          description: Success
          content:
            application/fhir+json:
              schema:
                $ref: "#/components/schemas/FHIR-JSON-RESOURCE"
            application/fhir+xml:
              schema:
                $ref: "#/components/schemas/FHIR-XML-RESOURCE"
components:
  schemas:
    FHIR-JSON-RESOURCE:
      type: object
      description: A FHIR resource
    FHIR-XML-RESOURCE:
      type: object
      description: A FHIR resource
