openapi: 3.0.1
info:
  title: Smile CDR
  contact: {}
  version: 2024.02.R05
servers:
- url: https://smilercdr.healthpartnersplans.com/fhir-request-apps/
  description: Smile CDR
security:
- openId:
  - openid
  - fhirUser
tags:
- name: System Level Operations
  description: Server-level operations
- name: AllergyIntolerance
  description: The AllergyIntolerance FHIR resource type
- name: CarePlan
  description: The CarePlan FHIR resource type
- name: CareTeam
  description: The CareTeam FHIR resource type
- name: Condition
  description: The Condition FHIR resource type
- name: Coverage
  description: The Coverage FHIR resource type
- name: DiagnosticReport
  description: The DiagnosticReport FHIR resource type
- name: DocumentReference
  description: The DocumentReference FHIR resource type
- name: Encounter
  description: The Encounter FHIR resource type
- name: ExplanationOfBenefit
  description: The ExplanationOfBenefit FHIR resource type
- name: Goal
  description: The Goal FHIR resource type
- name: Immunization
  description: The Immunization FHIR resource type
- name: Medication
  description: The Medication FHIR resource type
- name: List
  description: The List FHIR resource type
- name: MedicationDispense
  description: The MedicationDispense FHIR resource type
- name: MedicationKnowledge
  description: "The MedicationKnowledge FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/MedicationKnowledge"
- name: MedicationRequest
  description: The MedicationRequest FHIR resource type
- name: Observation
  description: The Observation FHIR resource type
- name: Organization
  description: The Organization FHIR resource type
- name: Patient
  description: The Patient FHIR resource type
- name: Practitioner
  description: The Practitioner FHIR resource type
- name: PractitionerRole
  description: The PractitionerRole FHIR resource type
- name: Procedure
  description: The Procedure FHIR resource type
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"/>
  /AllergyIntolerance/{id}:
    get:
      tags:
      - AllergyIntolerance
      summary: "read-instance: Read AllergyIntolerance 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"
  /AllergyIntolerance:
    get:
      tags:
      - AllergyIntolerance
      summary: "search-type: Search for AllergyIntolerance instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care\
          \ plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n*\
          \ [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\
          \n* [Composition](composition.html): Who and/or what the composition is\
          \ about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html):\
          \ Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated\
          \ patient\r\n* [DeviceRequest](devicerequest.html): Individual the service\
          \ is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search\
          \ by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html):\
          \ The subject of the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Who/what is the subject of the document\r\n* [Encounter](encounter.html):\
          \ The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ The identity of a subject to list family member history items for\r\n\
          * [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html):\
          \ Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html):\
          \ Who the study is about\r\n* [Immunization](immunization.html): The patient\
          \ for the vaccination record\r\n* [List](list.html): If all resources have\
          \ the same subject\r\n* [MedicationAdministration](medicationadministration.html):\
          \ The identity of a patient to list administrations  for\r\n* [MedicationDispense](medicationdispense.html):\
          \ The identity of a patient to list dispenses  for\r\n* [MedicationRequest](medicationrequest.html):\
          \ Returns prescriptions for a specific patient\r\n* [MedicationStatement](medicationstatement.html):\
          \ Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html):\
          \ The identity of the person who requires the diet, formula or nutritional\
          \ supplement\r\n* [Observation](observation.html): The subject that the\
          \ observation is about (if patient)\r\n* [Procedure](procedure.html): Search\
          \ by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what\
          \ does assessment apply to?\r\n* [ServiceRequest](servicerequest.html):\
          \ Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html):\
          \ Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html):\
          \ The identity of a patient to list dispenses for"
        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"
  /AllergyIntolerance/_search:
    get:
      tags:
      - AllergyIntolerance
      summary: "search-type: Search for AllergyIntolerance instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care\
          \ plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n*\
          \ [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\
          \n* [Composition](composition.html): Who and/or what the composition is\
          \ about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html):\
          \ Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated\
          \ patient\r\n* [DeviceRequest](devicerequest.html): Individual the service\
          \ is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search\
          \ by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html):\
          \ The subject of the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Who/what is the subject of the document\r\n* [Encounter](encounter.html):\
          \ The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ The identity of a subject to list family member history items for\r\n\
          * [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html):\
          \ Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html):\
          \ Who the study is about\r\n* [Immunization](immunization.html): The patient\
          \ for the vaccination record\r\n* [List](list.html): If all resources have\
          \ the same subject\r\n* [MedicationAdministration](medicationadministration.html):\
          \ The identity of a patient to list administrations  for\r\n* [MedicationDispense](medicationdispense.html):\
          \ The identity of a patient to list dispenses  for\r\n* [MedicationRequest](medicationrequest.html):\
          \ Returns prescriptions for a specific patient\r\n* [MedicationStatement](medicationstatement.html):\
          \ Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html):\
          \ The identity of the person who requires the diet, formula or nutritional\
          \ supplement\r\n* [Observation](observation.html): The subject that the\
          \ observation is about (if patient)\r\n* [Procedure](procedure.html): Search\
          \ by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what\
          \ does assessment apply to?\r\n* [ServiceRequest](servicerequest.html):\
          \ Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html):\
          \ Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html):\
          \ The identity of a patient to list dispenses for"
        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"
  /CarePlan/{id}:
    get:
      tags:
      - CarePlan
      summary: "read-instance: Read CarePlan 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"
  /CarePlan:
    get:
      tags:
      - CarePlan
      summary: "search-type: Search for CarePlan instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          Who the care plan is for<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /CarePlan/_search:
    get:
      tags:
      - CarePlan
      summary: "search-type: Search for CarePlan instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          Who the care plan is for<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /CareTeam/{id}:
    get:
      tags:
      - CareTeam
      summary: "read-instance: Read CareTeam 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"
  /CareTeam:
    get:
      tags:
      - CareTeam
      summary: "search-type: Search for CareTeam instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          Who care team is for<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /CareTeam/_search:
    get:
      tags:
      - CareTeam
      summary: "search-type: Search for CareTeam instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          Who care team is for<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /Condition/{id}:
    get:
      tags:
      - Condition
      summary: "read-instance: Read Condition 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"
  /Condition:
    get:
      tags:
      - Condition
      summary: "search-type: Search for Condition instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          Who has the condition?<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /Condition/_search:
    get:
      tags:
      - Condition
      summary: "search-type: Search for Condition instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          Who has the condition?<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /Coverage/{id}:
    get:
      tags:
      - Coverage
      summary: "read-instance: Read Coverage 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"
  /Coverage:
    get:
      tags:
      - Coverage
      summary: "search-type: Search for Coverage instances"
      description: This is a search type
      parameters:
      - name: identifier
        in: query
        description: The primary identifier of the insured and the coverage
        required: false
        schema:
          type: string
      - name: patient
        in: query
        description: Retrieve coverages for a patient
        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"
  /Coverage/_search:
    get:
      tags:
      - Coverage
      summary: "search-type: Search for Coverage instances"
      description: This is a search type
      parameters:
      - name: identifier
        in: query
        description: The primary identifier of the insured and the coverage
        required: false
        schema:
          type: string
      - name: patient
        in: query
        description: Retrieve coverages for a patient
        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"
  /DiagnosticReport/{id}:
    get:
      tags:
      - DiagnosticReport
      summary: "read-instance: Read DiagnosticReport 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"
  /DiagnosticReport:
    get:
      tags:
      - DiagnosticReport
      summary: "search-type: Search for DiagnosticReport instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          The subject of the report if a patient<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /DiagnosticReport/_search:
    get:
      tags:
      - DiagnosticReport
      summary: "search-type: Search for DiagnosticReport instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          The subject of the report if a patient<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /DocumentReference/{id}:
    get:
      tags:
      - DocumentReference
      summary: "read-instance: Read DocumentReference 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"
  /DocumentReference:
    get:
      tags:
      - DocumentReference
      summary: "search-type: Search for DocumentReference instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          Who/what is the subject of the document<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /DocumentReference/_search:
    get:
      tags:
      - DocumentReference
      summary: "search-type: Search for DocumentReference instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          Who/what is the subject of the document<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /Encounter/{id}:
    get:
      tags:
      - Encounter
      summary: "read-instance: Read Encounter 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"
  /Encounter:
    get:
      tags:
      - Encounter
      summary: "search-type: Search for Encounter instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          The patient or group present at the encounter<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /Encounter/_search:
    get:
      tags:
      - Encounter
      summary: "search-type: Search for Encounter instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          The patient or group present at the encounter<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /ExplanationOfBenefit/{id}:
    get:
      tags:
      - ExplanationOfBenefit
      summary: "read-instance: Read ExplanationOfBenefit 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"
  /ExplanationOfBenefit:
    get:
      tags:
      - ExplanationOfBenefit
      summary: "search-type: Search for ExplanationOfBenefit instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: The reference to the patient
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Search for resources which have the given profile
        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"
  /ExplanationOfBenefit/_search:
    get:
      tags:
      - ExplanationOfBenefit
      summary: "search-type: Search for ExplanationOfBenefit instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: The reference to the patient
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Search for resources which have the given profile
        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"
  /Goal/{id}:
    get:
      tags:
      - Goal
      summary: "read-instance: Read Goal 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"
  /Goal:
    get:
      tags:
      - Goal
      summary: "search-type: Search for Goal instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          Who this goal is intended for<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /Goal/_search:
    get:
      tags:
      - Goal
      summary: "search-type: Search for Goal instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          Who this goal is intended for<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /Immunization/{id}:
    get:
      tags:
      - Immunization
      summary: "read-instance: Read Immunization 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"
  /Immunization:
    get:
      tags:
      - Immunization
      summary: "search-type: Search for Immunization instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          The patient for the vaccination record<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /Immunization/_search:
    get:
      tags:
      - Immunization
      summary: "search-type: Search for Immunization instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          The patient for the vaccination record<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /Medication/{id}:
    get:
      tags:
      - Medication
      summary: "read-instance: Read Medication 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"
  /List:
    get:
      tags:
      - List
      summary: "search-type: Search for List instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care\
          \ plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n*\
          \ [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\
          \n* [Composition](composition.html): Who and/or what the composition is\
          \ about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html):\
          \ Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated\
          \ patient\r\n* [DeviceRequest](devicerequest.html): Individual the service\
          \ is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search\
          \ by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html):\
          \ The subject of the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Who/what is the subject of the document\r\n* [Encounter](encounter.html):\
          \ The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ The identity of a subject to list family member history items for\r\n\
          * [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html):\
          \ Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html):\
          \ Who the study is about\r\n* [Immunization](immunization.html): The patient\
          \ for the vaccination record\r\n* [List](list.html): If all resources have\
          \ the same subject\r\n* [MedicationAdministration](medicationadministration.html):\
          \ The identity of a patient to list administrations  for\r\n* [MedicationDispense](medicationdispense.html):\
          \ The identity of a patient to list dispenses  for\r\n* [MedicationRequest](medicationrequest.html):\
          \ Returns prescriptions for a specific patient\r\n* [MedicationStatement](medicationstatement.html):\
          \ Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html):\
          \ The identity of the person who requires the diet, formula or nutritional\
          \ supplement\r\n* [Observation](observation.html): The subject that the\
          \ observation is about (if patient)\r\n* [Procedure](procedure.html): Search\
          \ by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what\
          \ does assessment apply to?\r\n* [ServiceRequest](servicerequest.html):\
          \ Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html):\
          \ Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html):\
          \ The identity of a patient to list dispenses for"
        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"
  /List/_search:
    get:
      tags:
      - List
      summary: "search-type: Search for List instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care\
          \ plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n*\
          \ [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\
          \n* [Composition](composition.html): Who and/or what the composition is\
          \ about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html):\
          \ Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated\
          \ patient\r\n* [DeviceRequest](devicerequest.html): Individual the service\
          \ is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search\
          \ by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html):\
          \ The subject of the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Who/what is the subject of the document\r\n* [Encounter](encounter.html):\
          \ The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ The identity of a subject to list family member history items for\r\n\
          * [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html):\
          \ Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html):\
          \ Who the study is about\r\n* [Immunization](immunization.html): The patient\
          \ for the vaccination record\r\n* [List](list.html): If all resources have\
          \ the same subject\r\n* [MedicationAdministration](medicationadministration.html):\
          \ The identity of a patient to list administrations  for\r\n* [MedicationDispense](medicationdispense.html):\
          \ The identity of a patient to list dispenses  for\r\n* [MedicationRequest](medicationrequest.html):\
          \ Returns prescriptions for a specific patient\r\n* [MedicationStatement](medicationstatement.html):\
          \ Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html):\
          \ The identity of the person who requires the diet, formula or nutritional\
          \ supplement\r\n* [Observation](observation.html): The subject that the\
          \ observation is about (if patient)\r\n* [Procedure](procedure.html): Search\
          \ by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what\
          \ does assessment apply to?\r\n* [ServiceRequest](servicerequest.html):\
          \ Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html):\
          \ Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html):\
          \ The identity of a patient to list dispenses for"
        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"
  /MedicationDispense/{id}:
    get:
      tags:
      - MedicationDispense
      summary: "read-instance: Read MedicationDispense 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"
  /MedicationDispense:
    get:
      tags:
      - MedicationDispense
      summary: "search-type: Search for MedicationDispense instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care\
          \ plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n*\
          \ [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\
          \n* [Composition](composition.html): Who and/or what the composition is\
          \ about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html):\
          \ Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated\
          \ patient\r\n* [DeviceRequest](devicerequest.html): Individual the service\
          \ is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search\
          \ by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html):\
          \ The subject of the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Who/what is the subject of the document\r\n* [Encounter](encounter.html):\
          \ The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ The identity of a subject to list family member history items for\r\n\
          * [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html):\
          \ Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html):\
          \ Who the study is about\r\n* [Immunization](immunization.html): The patient\
          \ for the vaccination record\r\n* [List](list.html): If all resources have\
          \ the same subject\r\n* [MedicationAdministration](medicationadministration.html):\
          \ The identity of a patient to list administrations  for\r\n* [MedicationDispense](medicationdispense.html):\
          \ The identity of a patient to list dispenses  for\r\n* [MedicationRequest](medicationrequest.html):\
          \ Returns prescriptions for a specific patient\r\n* [MedicationStatement](medicationstatement.html):\
          \ Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html):\
          \ The identity of the person who requires the diet, formula or nutritional\
          \ supplement\r\n* [Observation](observation.html): The subject that the\
          \ observation is about (if patient)\r\n* [Procedure](procedure.html): Search\
          \ by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what\
          \ does assessment apply to?\r\n* [ServiceRequest](servicerequest.html):\
          \ Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html):\
          \ Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html):\
          \ The identity of a patient to list dispenses for"
        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"
  /MedicationDispense/_search:
    get:
      tags:
      - MedicationDispense
      summary: "search-type: Search for MedicationDispense instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care\
          \ plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n*\
          \ [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\
          \n* [Composition](composition.html): Who and/or what the composition is\
          \ about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html):\
          \ Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated\
          \ patient\r\n* [DeviceRequest](devicerequest.html): Individual the service\
          \ is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search\
          \ by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html):\
          \ The subject of the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Who/what is the subject of the document\r\n* [Encounter](encounter.html):\
          \ The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ The identity of a subject to list family member history items for\r\n\
          * [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html):\
          \ Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html):\
          \ Who the study is about\r\n* [Immunization](immunization.html): The patient\
          \ for the vaccination record\r\n* [List](list.html): If all resources have\
          \ the same subject\r\n* [MedicationAdministration](medicationadministration.html):\
          \ The identity of a patient to list administrations  for\r\n* [MedicationDispense](medicationdispense.html):\
          \ The identity of a patient to list dispenses  for\r\n* [MedicationRequest](medicationrequest.html):\
          \ Returns prescriptions for a specific patient\r\n* [MedicationStatement](medicationstatement.html):\
          \ Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html):\
          \ The identity of the person who requires the diet, formula or nutritional\
          \ supplement\r\n* [Observation](observation.html): The subject that the\
          \ observation is about (if patient)\r\n* [Procedure](procedure.html): Search\
          \ by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what\
          \ does assessment apply to?\r\n* [ServiceRequest](servicerequest.html):\
          \ Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html):\
          \ Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html):\
          \ The identity of a patient to list dispenses for"
        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"
  /MedicationKnowledge/{id}:
    get:
      tags:
      - MedicationKnowledge
      summary: "read-instance: Read MedicationKnowledge 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"
  /MedicationKnowledge:
    get:
      tags:
      - MedicationKnowledge
      summary: "search-type: Search for MedicationKnowledge instances"
      description: This is a search type
      parameters:
      - name: code
        in: query
        description: Code that identifies this medication
        required: false
        schema:
          type: string
      - name: doseform
        in: query
        description: powder | tablets | capsule +
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Search for resources which have the given profile
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: active | inactive | entered-in-error
        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"
  /MedicationKnowledge/_search:
    get:
      tags:
      - MedicationKnowledge
      summary: "search-type: Search for MedicationKnowledge instances"
      description: This is a search type
      parameters:
      - name: code
        in: query
        description: Code that identifies this medication
        required: false
        schema:
          type: string
      - name: doseform
        in: query
        description: powder | tablets | capsule +
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Search for resources which have the given profile
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: active | inactive | entered-in-error
        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"
  /MedicationRequest/{id}:
    get:
      tags:
      - MedicationRequest
      summary: "read-instance: Read MedicationRequest 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"
  /MedicationRequest:
    get:
      tags:
      - MedicationRequest
      summary: "search-type: Search for MedicationRequest instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          Returns prescriptions for a specific patient<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /MedicationRequest/_search:
    get:
      tags:
      - MedicationRequest
      summary: "search-type: Search for MedicationRequest instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          Returns prescriptions for a specific patient<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /Observation:
    get:
      tags:
      - Observation
      summary: "search-type: Search for Observation instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          The subject that the observation is about (if patient)<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /Observation/_search:
    get:
      tags:
      - Observation
      summary: "search-type: Search for Observation instances"
      description: This is a search type
      parameters:
      - name: patient
        in: query
        description: |-
          The subject that the observation is about (if patient)<br />
          <em>NOTE</em>: This US Core SearchParameter definition extends the usage context of
          <a href="http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html">capabilitystatement-expectation</a>
           extension to formally express implementer conformance expectations for these elements:<br />
           - multipleAnd<br />
           - multipleOr<br />
           - comparator<br />
           - modifier<br />
           - chain<br />
        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"
  /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"
  /Patient/{id}:
    get:
      tags:
      - Patient
      summary: "read-instance: Read Patient 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"
  /Patient:
    get:
      tags:
      - Patient
      summary: "search-type: Search for Patient instances"
      description: This is a search 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"
  /Patient/_search:
    get:
      tags:
      - Patient
      summary: "search-type: Search for Patient instances"
      description: This is a search 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"
  /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"
  /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"
  /Procedure/{id}:
    get:
      tags:
      - Procedure
      summary: "read-instance: Read Procedure 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"
components:
  schemas:
    FHIR-JSON-RESOURCE:
      type: object
      description: A FHIR resource
    FHIR-XML-RESOURCE:
      type: object
      description: A FHIR resource
  securitySchemes:
    openId:
      type: openIdConnect
      openIdConnectUrl: https://smilercdr.healthpartnersplans.com/fhir-request-apps/.well-known/smart-configuration
