openapi: 3.0.1
info:
  title: insync
  contact: {}
  version: 1.0.0
servers:
- url: https://fhir.qualifacts.org/insync
  description: insync
security:
- openId:
  - openid
  - fhirUser
tags:
- name: System Level Operations
  description: Server-level operations
- name: AllergyIntolerance
  description: "The AllergyIntolerance FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance"
- name: CarePlan
  description: "The CarePlan FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/CarePlan<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan"
- name: CareTeam
  description: "The CareTeam FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/CareTeam<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam"
- name: Condition
  description: "The Condition FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/Condition<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns"
- name: Coverage
  description: "The Coverage FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/Coverage<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-coverage"
- name: Device
  description: "The Device FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/Device<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device"
- name: DiagnosticReport
  description: "The DiagnosticReport FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/DiagnosticReport<br/>Supported\
    \ profile: http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics<br/>Supported\
    \ profile: http://hl7.org/fhir/StructureDefinition/hlaresult<br/>Supported profile:\
    \ http://hl7.org/fhir/StructureDefinition/lipidprofile<br/>Supported profile:\
    \ http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note"
- name: DocumentReference
  description: "The DocumentReference FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/DocumentReference<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"
- name: Encounter
  description: "The Encounter FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/Encounter<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"
- name: Goal
  description: "The Goal FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/Goal<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal"
- name: Immunization
  description: "The Immunization FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/Immunization<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization"
- 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/core/StructureDefinition/us-core-location"
- name: Medication
  description: "The Medication FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/Medication<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication"
- name: MedicationDispense
  description: "The MedicationDispense FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/MedicationDispense<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense"
- name: MedicationRequest
  description: "The MedicationRequest FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/MedicationRequest<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"
- name: Observation
  description: "The Observation FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/Observation<br/>Supported\
    \ profile: http://hl7.org/fhir/StructureDefinition/bmi<br/>Supported profile:\
    \ http://hl7.org/fhir/StructureDefinition/bodyheight<br/>Supported profile: http://hl7.org/fhir/StructureDefinition/bodytemp<br/>Supported\
    \ profile: http://hl7.org/fhir/StructureDefinition/bodyweight<br/>Supported profile:\
    \ http://hl7.org/fhir/StructureDefinition/bp<br/>Supported profile: http://hl7.org/fhir/StructureDefinition/cholesterol<br/>Supported\
    \ profile: http://hl7.org/fhir/StructureDefinition/devicemetricobservation<br/>Supported\
    \ profile: http://hl7.org/fhir/StructureDefinition/hdlcholesterol<br/>Supported\
    \ profile: http://hl7.org/fhir/StructureDefinition/headcircum<br/>Supported profile:\
    \ http://hl7.org/fhir/StructureDefinition/heartrate<br/>Supported profile: http://hl7.org/fhir/StructureDefinition/ldlcholesterol<br/>Supported\
    \ profile: http://hl7.org/fhir/StructureDefinition/observation-genetics<br/>Supported\
    \ profile: http://hl7.org/fhir/StructureDefinition/oxygensat<br/>Supported profile:\
    \ http://hl7.org/fhir/StructureDefinition/resprate<br/>Supported profile: http://hl7.org/fhir/StructureDefinition/triglyceride<br/>Supported\
    \ profile: http://hl7.org/fhir/StructureDefinition/vitalsigns<br/>Supported profile:\
    \ http://hl7.org/fhir/StructureDefinition/vitalspanel<br/>Supported profile: http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs"
- 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/core/StructureDefinition/us-core-organization"
- name: Patient
  description: "The Patient FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/Patient<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
- 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/core/StructureDefinition/us-core-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/core/StructureDefinition/us-core-practitionerrole"
- name: Procedure
  description: "The Procedure FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/Procedure<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure"
- name: Provenance
  description: "The Provenance FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/Provenance<br/>Supported\
    \ profile: http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance<br/>Supported\
    \ profile: http://hl7.org/fhir/StructureDefinition/provenance-relevant-history<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance"
- name: QuestionnaireResponse
  description: "The QuestionnaireResponse FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse"
- name: RelatedPerson
  description: "The RelatedPerson FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/RelatedPerson<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson"
- name: ServiceRequest
  description: "The ServiceRequest FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/ServiceRequest<br/>Supported\
    \ profile: http://hl7.org/fhir/StructureDefinition/servicerequest-genetics<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest"
- name: Specimen
  description: "The Specimen FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/Specimen<br/>Supported\
    \ profile: http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen"
- name: Group
  description: "The Group FHIR resource type<br/>Base profile: http://hl7.org/fhir/StructureDefinition/Group<br/>Supported\
    \ profile: http://hl7.org/fhir/StructureDefinition/actualgroup<br/>Supported profile:\
    \ http://hl7.org/fhir/StructureDefinition/groupdefinition"
paths:
  /{partition_name}/metadata:
    get:
      tags:
      - System Level Operations
      summary: "server-capabilities: Fetch the server FHIR CapabilityStatement"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      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"/>
  /{partition_name}/AllergyIntolerance/{id}:
    get:
      tags:
      - AllergyIntolerance
      summary: "read-instance: Read AllergyIntolerance instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/AllergyIntolerance:
    get:
      tags:
      - AllergyIntolerance
      summary: "search-type: Search for AllergyIntolerance instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html):\
          \ Time period plan covers\r\n* [CareTeam](careteam.html): Time period team\
          \ covers\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment\
          \ was documented\r\n* [Composition](composition.html): Composition editing\
          \ time\r\n* [Consent](consent.html): When this Consent was created or indexed\r\
          \n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time\
          \ of the report\r\n* [Encounter](encounter.html): A date within the period\
          \ the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided\
          \ date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ When history was recorded or last updated\r\n* [Flag](flag.html): Time\
          \ period when flag is active\r\n* [Immunization](immunization.html): Vaccination\
          \  (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\
          \n* [Observation](observation.html): Obtained date/time. If the obtained\
          \ element is a period, a date that falls in the period\r\n* [Procedure](procedure.html):\
          \ When the procedure was performed\r\n* [RiskAssessment](riskassessment.html):\
          \ When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When\
          \ the request was made"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: severity
        in: query
        description: mild | moderate | severe (of event as a whole)
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: recorder
        in: query
        description: Who recorded the sensitivity
        required: false
        schema:
          type: string
      - name: manifestation
        in: query
        description: Clinical symptoms/signs associated with the Event
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: verification-status
        in: query
        description: unconfirmed | confirmed | refuted | entered-in-error
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: criticality
        in: query
        description: low | high | unable-to-assess
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: clinical-status
        in: query
        description: active | inactive | resolved
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ allergy | intolerance - Underlying mechanism (if known)\r\n* [Composition](composition.html):\
          \ Kind of composition (LOINC if possible)\r\n* [DocumentManifest](documentmanifest.html):\
          \ Kind of document set\r\n* [DocumentReference](documentreference.html):\
          \ Kind of document (LOINC if possible)\r\n* [Encounter](encounter.html):\
          \ Specific type of encounter\r\n* [EpisodeOfCare](episodeofcare.html): Type/class\
          \  - e.g. specialist referral, disease management"
        required: false
        schema:
          type: string
      - name: onset
        in: query
        description: Date(/time) when manifestations showed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: asserter
        in: query
        description: Source of the information about the allergy
        required: false
        schema:
          type: string
      - name: route
        in: query
        description: How the subject was exposed to the substance
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - 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
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: food | medication | environment | biologic
        required: false
        schema:
          type: string
      - name: last-date
        in: query
        description: Date(/time) of last known occurrence of a reaction
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      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"
  /{partition_name}/AllergyIntolerance/_search:
    get:
      tags:
      - AllergyIntolerance
      summary: "search-type: Search for AllergyIntolerance instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html):\
          \ Time period plan covers\r\n* [CareTeam](careteam.html): Time period team\
          \ covers\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment\
          \ was documented\r\n* [Composition](composition.html): Composition editing\
          \ time\r\n* [Consent](consent.html): When this Consent was created or indexed\r\
          \n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time\
          \ of the report\r\n* [Encounter](encounter.html): A date within the period\
          \ the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided\
          \ date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ When history was recorded or last updated\r\n* [Flag](flag.html): Time\
          \ period when flag is active\r\n* [Immunization](immunization.html): Vaccination\
          \  (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\
          \n* [Observation](observation.html): Obtained date/time. If the obtained\
          \ element is a period, a date that falls in the period\r\n* [Procedure](procedure.html):\
          \ When the procedure was performed\r\n* [RiskAssessment](riskassessment.html):\
          \ When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When\
          \ the request was made"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: severity
        in: query
        description: mild | moderate | severe (of event as a whole)
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: recorder
        in: query
        description: Who recorded the sensitivity
        required: false
        schema:
          type: string
      - name: manifestation
        in: query
        description: Clinical symptoms/signs associated with the Event
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: verification-status
        in: query
        description: unconfirmed | confirmed | refuted | entered-in-error
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: criticality
        in: query
        description: low | high | unable-to-assess
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: clinical-status
        in: query
        description: active | inactive | resolved
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ allergy | intolerance - Underlying mechanism (if known)\r\n* [Composition](composition.html):\
          \ Kind of composition (LOINC if possible)\r\n* [DocumentManifest](documentmanifest.html):\
          \ Kind of document set\r\n* [DocumentReference](documentreference.html):\
          \ Kind of document (LOINC if possible)\r\n* [Encounter](encounter.html):\
          \ Specific type of encounter\r\n* [EpisodeOfCare](episodeofcare.html): Type/class\
          \  - e.g. specialist referral, disease management"
        required: false
        schema:
          type: string
      - name: onset
        in: query
        description: Date(/time) when manifestations showed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: asserter
        in: query
        description: Source of the information about the allergy
        required: false
        schema:
          type: string
      - name: route
        in: query
        description: How the subject was exposed to the substance
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - 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
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: food | medication | environment | biologic
        required: false
        schema:
          type: string
      - name: last-date
        in: query
        description: Date(/time) of last known occurrence of a reaction
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      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"
  /{partition_name}/CarePlan/{id}:
    get:
      tags:
      - CarePlan
      summary: "read-instance: Read CarePlan instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/CarePlan:
    get:
      tags:
      - CarePlan
      summary: "search-type: Search for CarePlan instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html):\
          \ Time period plan covers\r\n* [CareTeam](careteam.html): Time period team\
          \ covers\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment\
          \ was documented\r\n* [Composition](composition.html): Composition editing\
          \ time\r\n* [Consent](consent.html): When this Consent was created or indexed\r\
          \n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time\
          \ of the report\r\n* [Encounter](encounter.html): A date within the period\
          \ the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided\
          \ date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ When history was recorded or last updated\r\n* [Flag](flag.html): Time\
          \ period when flag is active\r\n* [Immunization](immunization.html): Vaccination\
          \  (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\
          \n* [Observation](observation.html): Obtained date/time. If the obtained\
          \ element is a period, a date that falls in the period\r\n* [Procedure](procedure.html):\
          \ When the procedure was performed\r\n* [RiskAssessment](riskassessment.html):\
          \ When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When\
          \ the request was made"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: care-team
        in: query
        description: Who's involved in plan?
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: Who the care plan is for
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: part-of
        in: query
        description: Part of referenced CarePlan
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: based-on
        in: query
        description: Fulfills CarePlan
        required: false
        schema:
          type: string
      - 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
      - name: activity-date
        in: query
        description: "Specified date occurs within period specified by CarePlan.activity.detail.scheduled[x]"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: instantiates-uri
        in: query
        description: Instantiates external protocol or definition
        required: false
        schema:
          type: string
      - name: activity-code
        in: query
        description: Detail type of activity
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: performer
        in: query
        description: "Matches if the practitioner is listed as a performer in any\
          \ of the \"simple\" activities.  (For performers of the detailed activities,\
          \ chain through the activitydetail search parameter.)"
        required: false
        schema:
          type: string
      - name: goal
        in: query
        description: Desired outcome of plan
        required: false
        schema:
          type: string
      - name: replaces
        in: query
        description: CarePlan replaced by this CarePlan
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: instantiates-canonical
        in: query
        description: Instantiates FHIR protocol or definition
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: Encounter created as part of
        required: false
        schema:
          type: string
      - name: intent
        in: query
        description: proposal | plan | order | option
        required: false
        schema:
          type: string
      - name: activity-reference
        in: query
        description: Activity details defined in specific resource
        required: false
        schema:
          type: string
      - name: condition
        in: query
        description: Health issues this plan addresses
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: Type of plan
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: draft | active | on-hold | revoked | completed | entered-in-error
          | unknown
        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"
  /{partition_name}/CarePlan/_search:
    get:
      tags:
      - CarePlan
      summary: "search-type: Search for CarePlan instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html):\
          \ Time period plan covers\r\n* [CareTeam](careteam.html): Time period team\
          \ covers\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment\
          \ was documented\r\n* [Composition](composition.html): Composition editing\
          \ time\r\n* [Consent](consent.html): When this Consent was created or indexed\r\
          \n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time\
          \ of the report\r\n* [Encounter](encounter.html): A date within the period\
          \ the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided\
          \ date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ When history was recorded or last updated\r\n* [Flag](flag.html): Time\
          \ period when flag is active\r\n* [Immunization](immunization.html): Vaccination\
          \  (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\
          \n* [Observation](observation.html): Obtained date/time. If the obtained\
          \ element is a period, a date that falls in the period\r\n* [Procedure](procedure.html):\
          \ When the procedure was performed\r\n* [RiskAssessment](riskassessment.html):\
          \ When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When\
          \ the request was made"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: care-team
        in: query
        description: Who's involved in plan?
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: Who the care plan is for
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: part-of
        in: query
        description: Part of referenced CarePlan
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: based-on
        in: query
        description: Fulfills CarePlan
        required: false
        schema:
          type: string
      - 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
      - name: activity-date
        in: query
        description: "Specified date occurs within period specified by CarePlan.activity.detail.scheduled[x]"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: instantiates-uri
        in: query
        description: Instantiates external protocol or definition
        required: false
        schema:
          type: string
      - name: activity-code
        in: query
        description: Detail type of activity
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: performer
        in: query
        description: "Matches if the practitioner is listed as a performer in any\
          \ of the \"simple\" activities.  (For performers of the detailed activities,\
          \ chain through the activitydetail search parameter.)"
        required: false
        schema:
          type: string
      - name: goal
        in: query
        description: Desired outcome of plan
        required: false
        schema:
          type: string
      - name: replaces
        in: query
        description: CarePlan replaced by this CarePlan
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: instantiates-canonical
        in: query
        description: Instantiates FHIR protocol or definition
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: Encounter created as part of
        required: false
        schema:
          type: string
      - name: intent
        in: query
        description: proposal | plan | order | option
        required: false
        schema:
          type: string
      - name: activity-reference
        in: query
        description: Activity details defined in specific resource
        required: false
        schema:
          type: string
      - name: condition
        in: query
        description: Health issues this plan addresses
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: Type of plan
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: draft | active | on-hold | revoked | completed | entered-in-error
          | unknown
        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"
  /{partition_name}/CareTeam/{id}:
    get:
      tags:
      - CareTeam
      summary: "read-instance: Read CareTeam instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/CareTeam:
    get:
      tags:
      - CareTeam
      summary: "search-type: Search for CareTeam instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html):\
          \ Time period plan covers\r\n* [CareTeam](careteam.html): Time period team\
          \ covers\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment\
          \ was documented\r\n* [Composition](composition.html): Composition editing\
          \ time\r\n* [Consent](consent.html): When this Consent was created or indexed\r\
          \n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time\
          \ of the report\r\n* [Encounter](encounter.html): A date within the period\
          \ the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided\
          \ date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ When history was recorded or last updated\r\n* [Flag](flag.html): Time\
          \ period when flag is active\r\n* [Immunization](immunization.html): Vaccination\
          \  (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\
          \n* [Observation](observation.html): Obtained date/time. If the obtained\
          \ element is a period, a date that falls in the period\r\n* [Procedure](procedure.html):\
          \ When the procedure was performed\r\n* [RiskAssessment](riskassessment.html):\
          \ When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When\
          \ the request was made"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: Who care team is for
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: Encounter created as part of
        required: false
        schema:
          type: string
      - name: participant
        in: query
        description: Who is involved
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - 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
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: Type of team
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: proposed | active | suspended | 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"
  /{partition_name}/CareTeam/_search:
    get:
      tags:
      - CareTeam
      summary: "search-type: Search for CareTeam instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html):\
          \ Time period plan covers\r\n* [CareTeam](careteam.html): Time period team\
          \ covers\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment\
          \ was documented\r\n* [Composition](composition.html): Composition editing\
          \ time\r\n* [Consent](consent.html): When this Consent was created or indexed\r\
          \n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time\
          \ of the report\r\n* [Encounter](encounter.html): A date within the period\
          \ the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided\
          \ date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ When history was recorded or last updated\r\n* [Flag](flag.html): Time\
          \ period when flag is active\r\n* [Immunization](immunization.html): Vaccination\
          \  (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\
          \n* [Observation](observation.html): Obtained date/time. If the obtained\
          \ element is a period, a date that falls in the period\r\n* [Procedure](procedure.html):\
          \ When the procedure was performed\r\n* [RiskAssessment](riskassessment.html):\
          \ When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When\
          \ the request was made"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: Who care team is for
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: Encounter created as part of
        required: false
        schema:
          type: string
      - name: participant
        in: query
        description: Who is involved
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - 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
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: Type of team
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: proposed | active | suspended | 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"
  /{partition_name}/Condition/{id}:
    get:
      tags:
      - Condition
      summary: "read-instance: Read Condition instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/Condition:
    get:
      tags:
      - Condition
      summary: "search-type: Search for Condition instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: onset-info
        in: query
        description: Onsets as a string
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: evidence
        in: query
        description: Manifestation/symptom
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: Who has the condition?
        required: false
        schema:
          type: string
      - name: verification-status
        in: query
        description: unconfirmed | provisional | differential | confirmed | refuted
          | entered-in-error
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: clinical-status
        in: query
        description: The clinical status of the condition
        required: false
        schema:
          type: string
      - name: onset-date
        in: query
        description: Date related onsets (dateTime and Period)
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: abatement-date
        in: query
        description: Date-related abatements (dateTime and period)
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - 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
      - name: abatement-age
        in: query
        description: Abatement as age or age range
        required: false
        schema:
          anyOf:
          - type: string
          - type: number
      - name: severity
        in: query
        description: The severity of the condition
        required: false
        schema:
          type: string
      - name: evidence-detail
        in: query
        description: Supporting information found elsewhere
        required: false
        schema:
          type: string
      - name: recorded-date
        in: query
        description: Date record was first recorded
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: Encounter created as part of
        required: false
        schema:
          type: string
      - name: asserter
        in: query
        description: Person who asserts this condition
        required: false
        schema:
          type: string
      - name: stage
        in: query
        description: Simple summary (disease specific)
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: abatement-string
        in: query
        description: Abatement as a string
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: onset-age
        in: query
        description: Onsets as age or age range
        required: false
        schema:
          anyOf:
          - type: string
          - type: number
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: The category of the condition
        required: false
        schema:
          type: string
      - name: body-site
        in: query
        description: "Anatomical location, if relevant"
        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"
  /{partition_name}/Condition/_search:
    get:
      tags:
      - Condition
      summary: "search-type: Search for Condition instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: onset-info
        in: query
        description: Onsets as a string
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: evidence
        in: query
        description: Manifestation/symptom
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: Who has the condition?
        required: false
        schema:
          type: string
      - name: verification-status
        in: query
        description: unconfirmed | provisional | differential | confirmed | refuted
          | entered-in-error
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: clinical-status
        in: query
        description: The clinical status of the condition
        required: false
        schema:
          type: string
      - name: onset-date
        in: query
        description: Date related onsets (dateTime and Period)
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: abatement-date
        in: query
        description: Date-related abatements (dateTime and period)
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - 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
      - name: abatement-age
        in: query
        description: Abatement as age or age range
        required: false
        schema:
          anyOf:
          - type: string
          - type: number
      - name: severity
        in: query
        description: The severity of the condition
        required: false
        schema:
          type: string
      - name: evidence-detail
        in: query
        description: Supporting information found elsewhere
        required: false
        schema:
          type: string
      - name: recorded-date
        in: query
        description: Date record was first recorded
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: Encounter created as part of
        required: false
        schema:
          type: string
      - name: asserter
        in: query
        description: Person who asserts this condition
        required: false
        schema:
          type: string
      - name: stage
        in: query
        description: Simple summary (disease specific)
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: abatement-string
        in: query
        description: Abatement as a string
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: onset-age
        in: query
        description: Onsets as age or age range
        required: false
        schema:
          anyOf:
          - type: string
          - type: number
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: The category of the condition
        required: false
        schema:
          type: string
      - name: body-site
        in: query
        description: "Anatomical location, if relevant"
        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"
  /{partition_name}/Coverage/{id}:
    get:
      tags:
      - Coverage
      summary: "read-instance: Read Coverage instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/Coverage:
    get:
      tags:
      - Coverage
      summary: "search-type: Search for Coverage instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: identifier
        in: query
        description: The primary identifier of the insured and the coverage
        required: false
        schema:
          type: string
      - name: subscriber
        in: query
        description: Reference to the subscriber
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: "The kind of coverage (health plan, auto, Workers Compensation)"
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: payor
        in: query
        description: The identity of the insurer or party paying for services
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: beneficiary
        in: query
        description: Covered party
        required: false
        schema:
          type: string
      - name: patient
        in: query
        description: Retrieve coverages for a patient
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: class-value
        in: query
        description: "Value of the class (eg. Plan number, group number)"
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: class-type
        in: query
        description: "Coverage class (eg. plan, group)"
        required: false
        schema:
          type: string
      - name: dependent
        in: query
        description: Dependent number
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: The status of the Coverage
        required: false
        schema:
          type: string
      - name: policy-holder
        in: query
        description: Reference to the policyholder
        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"
  /{partition_name}/Coverage/_search:
    get:
      tags:
      - Coverage
      summary: "search-type: Search for Coverage instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: identifier
        in: query
        description: The primary identifier of the insured and the coverage
        required: false
        schema:
          type: string
      - name: subscriber
        in: query
        description: Reference to the subscriber
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: "The kind of coverage (health plan, auto, Workers Compensation)"
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: payor
        in: query
        description: The identity of the insurer or party paying for services
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: beneficiary
        in: query
        description: Covered party
        required: false
        schema:
          type: string
      - name: patient
        in: query
        description: Retrieve coverages for a patient
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: class-value
        in: query
        description: "Value of the class (eg. Plan number, group number)"
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: class-type
        in: query
        description: "Coverage class (eg. plan, group)"
        required: false
        schema:
          type: string
      - name: dependent
        in: query
        description: Dependent number
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: The status of the Coverage
        required: false
        schema:
          type: string
      - name: policy-holder
        in: query
        description: Reference to the policyholder
        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"
  /{partition_name}/Device/{id}:
    get:
      tags:
      - Device
      summary: "read-instance: Read Device instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/Device:
    get:
      tags:
      - Device
      summary: "search-type: Search for Device instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: udi-di
        in: query
        description: The udi Device Identifier (DI)
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: "Instance id from manufacturer, owner, and others"
        required: false
        schema:
          type: string
      - name: udi-carrier
        in: query
        description: UDI Barcode (RFID or other technology) string in *HRF* format.
        required: false
        schema:
          type: string
      - name: device-name
        in: query
        description: A server defined search that may match any of the string fields
          in Device.deviceName or Device.type.
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: The type of the device
        required: false
        schema:
          type: string
      - name: url
        in: query
        description: Network address to contact device
        required: false
        schema:
          type: string
      - name: manufacturer
        in: query
        description: The manufacturer of the device
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: patient
        in: query
        description: "Patient information, if the resource is affixed to a person"
        required: false
        schema:
          type: string
      - name: organization
        in: query
        description: The organization responsible for the device
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: model
        in: query
        description: The model of the device
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: location
        in: query
        description: "A location, where the resource is found"
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: active | inactive | entered-in-error | unknown
        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"
  /{partition_name}/Device/_search:
    get:
      tags:
      - Device
      summary: "search-type: Search for Device instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: udi-di
        in: query
        description: The udi Device Identifier (DI)
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: "Instance id from manufacturer, owner, and others"
        required: false
        schema:
          type: string
      - name: udi-carrier
        in: query
        description: UDI Barcode (RFID or other technology) string in *HRF* format.
        required: false
        schema:
          type: string
      - name: device-name
        in: query
        description: A server defined search that may match any of the string fields
          in Device.deviceName or Device.type.
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: The type of the device
        required: false
        schema:
          type: string
      - name: url
        in: query
        description: Network address to contact device
        required: false
        schema:
          type: string
      - name: manufacturer
        in: query
        description: The manufacturer of the device
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: patient
        in: query
        description: "Patient information, if the resource is affixed to a person"
        required: false
        schema:
          type: string
      - name: organization
        in: query
        description: The organization responsible for the device
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: model
        in: query
        description: The model of the device
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: location
        in: query
        description: "A location, where the resource is found"
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: active | inactive | entered-in-error | unknown
        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"
  /{partition_name}/DiagnosticReport/{id}:
    get:
      tags:
      - DiagnosticReport
      summary: "read-instance: Read DiagnosticReport instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/DiagnosticReport:
    get:
      tags:
      - DiagnosticReport
      summary: "search-type: Search for DiagnosticReport instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html):\
          \ Time period plan covers\r\n* [CareTeam](careteam.html): Time period team\
          \ covers\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment\
          \ was documented\r\n* [Composition](composition.html): Composition editing\
          \ time\r\n* [Consent](consent.html): When this Consent was created or indexed\r\
          \n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time\
          \ of the report\r\n* [Encounter](encounter.html): A date within the period\
          \ the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided\
          \ date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ When history was recorded or last updated\r\n* [Flag](flag.html): Time\
          \ period when flag is active\r\n* [Immunization](immunization.html): Vaccination\
          \  (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\
          \n* [Observation](observation.html): Obtained date/time. If the obtained\
          \ element is a period, a date that falls in the period\r\n* [Procedure](procedure.html):\
          \ When the procedure was performed\r\n* [RiskAssessment](riskassessment.html):\
          \ When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When\
          \ the request was made"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: performer
        in: query
        description: Who is responsible for the report
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: The subject of the report
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: "Multiple Resources: \r\n\r\n* [Composition](composition.html):\
          \ Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter\
          \ during which request was created\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The Encounter when the order was made\r\n* [DocumentReference](documentreference.html):\
          \ Context of the document  content\r\n* [Flag](flag.html): Alert relevant\
          \ during encounter\r\n* [List](list.html): Context in which list created\r\
          \n* [NutritionOrder](nutritionorder.html): Return nutrition orders with\
          \ this encounter identifier\r\n* [Observation](observation.html): Encounter\
          \ related to the observation\r\n* [Procedure](procedure.html): Encounter\
          \ created as part of\r\n* [RiskAssessment](riskassessment.html): Where was\
          \ assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter\
          \ in which this request is made\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this encounter identifier"
        required: false
        schema:
          type: string
      - name: media
        in: query
        description: A reference to the image source.
        required: false
        schema:
          type: string
      - name: conclusion
        in: query
        description: A coded conclusion (interpretation/impression) on the report
        required: false
        schema:
          type: string
      - name: result
        in: query
        description: Link to an atomic result (observation resource)
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: based-on
        in: query
        description: Reference to the service request.
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - 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
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: specimen
        in: query
        description: The specimen details
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: Which diagnostic discipline/department created the report
        required: false
        schema:
          type: string
      - name: issued
        in: query
        description: When the report was issued
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: results-interpreter
        in: query
        description: Who was the source of the report
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: The status of the report
        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"
  /{partition_name}/DiagnosticReport/_search:
    get:
      tags:
      - DiagnosticReport
      summary: "search-type: Search for DiagnosticReport instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html):\
          \ Time period plan covers\r\n* [CareTeam](careteam.html): Time period team\
          \ covers\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment\
          \ was documented\r\n* [Composition](composition.html): Composition editing\
          \ time\r\n* [Consent](consent.html): When this Consent was created or indexed\r\
          \n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time\
          \ of the report\r\n* [Encounter](encounter.html): A date within the period\
          \ the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided\
          \ date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ When history was recorded or last updated\r\n* [Flag](flag.html): Time\
          \ period when flag is active\r\n* [Immunization](immunization.html): Vaccination\
          \  (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\
          \n* [Observation](observation.html): Obtained date/time. If the obtained\
          \ element is a period, a date that falls in the period\r\n* [Procedure](procedure.html):\
          \ When the procedure was performed\r\n* [RiskAssessment](riskassessment.html):\
          \ When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When\
          \ the request was made"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: performer
        in: query
        description: Who is responsible for the report
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: The subject of the report
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: "Multiple Resources: \r\n\r\n* [Composition](composition.html):\
          \ Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter\
          \ during which request was created\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The Encounter when the order was made\r\n* [DocumentReference](documentreference.html):\
          \ Context of the document  content\r\n* [Flag](flag.html): Alert relevant\
          \ during encounter\r\n* [List](list.html): Context in which list created\r\
          \n* [NutritionOrder](nutritionorder.html): Return nutrition orders with\
          \ this encounter identifier\r\n* [Observation](observation.html): Encounter\
          \ related to the observation\r\n* [Procedure](procedure.html): Encounter\
          \ created as part of\r\n* [RiskAssessment](riskassessment.html): Where was\
          \ assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter\
          \ in which this request is made\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this encounter identifier"
        required: false
        schema:
          type: string
      - name: media
        in: query
        description: A reference to the image source.
        required: false
        schema:
          type: string
      - name: conclusion
        in: query
        description: A coded conclusion (interpretation/impression) on the report
        required: false
        schema:
          type: string
      - name: result
        in: query
        description: Link to an atomic result (observation resource)
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: based-on
        in: query
        description: Reference to the service request.
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - 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
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: specimen
        in: query
        description: The specimen details
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: Which diagnostic discipline/department created the report
        required: false
        schema:
          type: string
      - name: issued
        in: query
        description: When the report was issued
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: results-interpreter
        in: query
        description: Who was the source of the report
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: The status of the report
        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"
  /{partition_name}/DocumentReference/{id}:
    get:
      tags:
      - DocumentReference
      summary: "read-instance: Read DocumentReference instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/DocumentReference:
    get:
      tags:
      - DocumentReference
      summary: "search-type: Search for DocumentReference instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: When this document reference was created
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: subject
        in: query
        description: Who/what is the subject of the document
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: description
        in: query
        description: Human-readable description
        required: false
        schema:
          type: string
      - name: language
        in: query
        description: Human language of the content (BCP-47)
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ allergy | intolerance - Underlying mechanism (if known)\r\n* [Composition](composition.html):\
          \ Kind of composition (LOINC if possible)\r\n* [DocumentManifest](documentmanifest.html):\
          \ Kind of document set\r\n* [DocumentReference](documentreference.html):\
          \ Kind of document (LOINC if possible)\r\n* [Encounter](encounter.html):\
          \ Specific type of encounter\r\n* [EpisodeOfCare](episodeofcare.html): Type/class\
          \  - e.g. specialist referral, disease management"
        required: false
        schema:
          type: string
      - name: relation
        in: query
        description: replaces | transforms | signs | appends
        required: false
        schema:
          type: string
      - name: setting
        in: query
        description: Additional details about where the content was created (e.g.
          clinical specialty)
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: related
        in: query
        description: Related identifiers or resources
        required: false
        schema:
          type: string
      - 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
      - name: event
        in: query
        description: Main clinical acts documented
        required: false
        schema:
          type: string
      - name: authenticator
        in: query
        description: Who/what authenticated the document
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: period
        in: query
        description: Time of service that is being documented
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: custodian
        in: query
        description: Organization which maintains the document
        required: false
        schema:
          type: string
      - name: author
        in: query
        description: Who and/or what authored the document
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: format
        in: query
        description: Format/content rules for the document
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: "Multiple Resources: \r\n\r\n* [Composition](composition.html):\
          \ Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter\
          \ during which request was created\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The Encounter when the order was made\r\n* [DocumentReference](documentreference.html):\
          \ Context of the document  content\r\n* [Flag](flag.html): Alert relevant\
          \ during encounter\r\n* [List](list.html): Context in which list created\r\
          \n* [NutritionOrder](nutritionorder.html): Return nutrition orders with\
          \ this encounter identifier\r\n* [Observation](observation.html): Encounter\
          \ related to the observation\r\n* [Procedure](procedure.html): Encounter\
          \ created as part of\r\n* [RiskAssessment](riskassessment.html): Where was\
          \ assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter\
          \ in which this request is made\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this encounter identifier"
        required: false
        schema:
          type: string
      - name: contenttype
        in: query
        description: "Mime type of the content, with charset etc."
        required: false
        schema:
          type: string
      - name: security-label
        in: query
        description: Document security-tags
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: location
        in: query
        description: Uri where the data can be found
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: Categorization of document
        required: false
        schema:
          type: string
      - name: relatesto
        in: query
        description: Target of the relationship
        required: false
        schema:
          type: string
      - name: facility
        in: query
        description: Kind of facility where patient was seen
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: current | superseded | 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"
  /{partition_name}/DocumentReference/_search:
    get:
      tags:
      - DocumentReference
      summary: "search-type: Search for DocumentReference instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: When this document reference was created
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: subject
        in: query
        description: Who/what is the subject of the document
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: description
        in: query
        description: Human-readable description
        required: false
        schema:
          type: string
      - name: language
        in: query
        description: Human language of the content (BCP-47)
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ allergy | intolerance - Underlying mechanism (if known)\r\n* [Composition](composition.html):\
          \ Kind of composition (LOINC if possible)\r\n* [DocumentManifest](documentmanifest.html):\
          \ Kind of document set\r\n* [DocumentReference](documentreference.html):\
          \ Kind of document (LOINC if possible)\r\n* [Encounter](encounter.html):\
          \ Specific type of encounter\r\n* [EpisodeOfCare](episodeofcare.html): Type/class\
          \  - e.g. specialist referral, disease management"
        required: false
        schema:
          type: string
      - name: relation
        in: query
        description: replaces | transforms | signs | appends
        required: false
        schema:
          type: string
      - name: setting
        in: query
        description: Additional details about where the content was created (e.g.
          clinical specialty)
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: related
        in: query
        description: Related identifiers or resources
        required: false
        schema:
          type: string
      - 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
      - name: event
        in: query
        description: Main clinical acts documented
        required: false
        schema:
          type: string
      - name: authenticator
        in: query
        description: Who/what authenticated the document
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: period
        in: query
        description: Time of service that is being documented
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: custodian
        in: query
        description: Organization which maintains the document
        required: false
        schema:
          type: string
      - name: author
        in: query
        description: Who and/or what authored the document
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: format
        in: query
        description: Format/content rules for the document
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: "Multiple Resources: \r\n\r\n* [Composition](composition.html):\
          \ Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter\
          \ during which request was created\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The Encounter when the order was made\r\n* [DocumentReference](documentreference.html):\
          \ Context of the document  content\r\n* [Flag](flag.html): Alert relevant\
          \ during encounter\r\n* [List](list.html): Context in which list created\r\
          \n* [NutritionOrder](nutritionorder.html): Return nutrition orders with\
          \ this encounter identifier\r\n* [Observation](observation.html): Encounter\
          \ related to the observation\r\n* [Procedure](procedure.html): Encounter\
          \ created as part of\r\n* [RiskAssessment](riskassessment.html): Where was\
          \ assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter\
          \ in which this request is made\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this encounter identifier"
        required: false
        schema:
          type: string
      - name: contenttype
        in: query
        description: "Mime type of the content, with charset etc."
        required: false
        schema:
          type: string
      - name: security-label
        in: query
        description: Document security-tags
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: location
        in: query
        description: Uri where the data can be found
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: Categorization of document
        required: false
        schema:
          type: string
      - name: relatesto
        in: query
        description: Target of the relationship
        required: false
        schema:
          type: string
      - name: facility
        in: query
        description: Kind of facility where patient was seen
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: current | superseded | 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"
  /{partition_name}/Encounter/{id}:
    get:
      tags:
      - Encounter
      summary: "read-instance: Read Encounter instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/Encounter:
    get:
      tags:
      - Encounter
      summary: "search-type: Search for Encounter instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html):\
          \ Time period plan covers\r\n* [CareTeam](careteam.html): Time period team\
          \ covers\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment\
          \ was documented\r\n* [Composition](composition.html): Composition editing\
          \ time\r\n* [Consent](consent.html): When this Consent was created or indexed\r\
          \n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time\
          \ of the report\r\n* [Encounter](encounter.html): A date within the period\
          \ the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided\
          \ date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ When history was recorded or last updated\r\n* [Flag](flag.html): Time\
          \ period when flag is active\r\n* [Immunization](immunization.html): Vaccination\
          \  (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\
          \n* [Observation](observation.html): Obtained date/time. If the obtained\
          \ element is a period, a date that falls in the period\r\n* [Procedure](procedure.html):\
          \ When the procedure was performed\r\n* [RiskAssessment](riskassessment.html):\
          \ When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When\
          \ the request was made"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: participant-type
        in: query
        description: Role of participant in encounter
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: The patient or group present at the encounter
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: appointment
        in: query
        description: The appointment that scheduled this encounter
        required: false
        schema:
          type: string
      - name: part-of
        in: query
        description: Another Encounter this encounter is part of
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ allergy | intolerance - Underlying mechanism (if known)\r\n* [Composition](composition.html):\
          \ Kind of composition (LOINC if possible)\r\n* [DocumentManifest](documentmanifest.html):\
          \ Kind of document set\r\n* [DocumentReference](documentreference.html):\
          \ Kind of document (LOINC if possible)\r\n* [Encounter](encounter.html):\
          \ Specific type of encounter\r\n* [EpisodeOfCare](episodeofcare.html): Type/class\
          \  - e.g. specialist referral, disease management"
        required: false
        schema:
          type: string
      - name: reason-code
        in: query
        description: Coded reason the encounter takes place
        required: false
        schema:
          type: string
      - name: participant
        in: query
        description: Persons involved in the encounter other than the patient
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: based-on
        in: query
        description: The ServiceRequest that initiated this encounter
        required: false
        schema:
          type: string
      - 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
      - name: location-period
        in: query
        description: Time period during which the patient was present at the location
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: special-arrangement
        in: query
        description: "Wheelchair, translator, stretcher, etc."
        required: false
        schema:
          type: string
      - name: class
        in: query
        description: Classification of patient encounter
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: practitioner
        in: query
        description: Persons involved in the encounter other than the patient
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: episode-of-care
        in: query
        description: Episode(s) of care that this encounter should be recorded against
        required: false
        schema:
          type: string
      - name: length
        in: query
        description: Length of encounter in days
        required: false
        schema:
          anyOf:
          - type: string
          - type: number
      - name: diagnosis
        in: query
        description: The diagnosis or procedure relevant to the encounter
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: reason-reference
        in: query
        description: Reason the encounter takes place (reference)
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: location
        in: query
        description: Location the encounter takes place
        required: false
        schema:
          type: string
      - name: service-provider
        in: query
        description: The organization (facility) responsible for this encounter
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: account
        in: query
        description: The set of accounts that may be used for billing for this Encounter
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: planned | arrived | triaged | in-progress | onleave | finished
          | cancelled +
        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"
  /{partition_name}/Encounter/_search:
    get:
      tags:
      - Encounter
      summary: "search-type: Search for Encounter instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html):\
          \ Time period plan covers\r\n* [CareTeam](careteam.html): Time period team\
          \ covers\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment\
          \ was documented\r\n* [Composition](composition.html): Composition editing\
          \ time\r\n* [Consent](consent.html): When this Consent was created or indexed\r\
          \n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time\
          \ of the report\r\n* [Encounter](encounter.html): A date within the period\
          \ the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided\
          \ date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ When history was recorded or last updated\r\n* [Flag](flag.html): Time\
          \ period when flag is active\r\n* [Immunization](immunization.html): Vaccination\
          \  (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\
          \n* [Observation](observation.html): Obtained date/time. If the obtained\
          \ element is a period, a date that falls in the period\r\n* [Procedure](procedure.html):\
          \ When the procedure was performed\r\n* [RiskAssessment](riskassessment.html):\
          \ When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When\
          \ the request was made"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: participant-type
        in: query
        description: Role of participant in encounter
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: The patient or group present at the encounter
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: appointment
        in: query
        description: The appointment that scheduled this encounter
        required: false
        schema:
          type: string
      - name: part-of
        in: query
        description: Another Encounter this encounter is part of
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ allergy | intolerance - Underlying mechanism (if known)\r\n* [Composition](composition.html):\
          \ Kind of composition (LOINC if possible)\r\n* [DocumentManifest](documentmanifest.html):\
          \ Kind of document set\r\n* [DocumentReference](documentreference.html):\
          \ Kind of document (LOINC if possible)\r\n* [Encounter](encounter.html):\
          \ Specific type of encounter\r\n* [EpisodeOfCare](episodeofcare.html): Type/class\
          \  - e.g. specialist referral, disease management"
        required: false
        schema:
          type: string
      - name: reason-code
        in: query
        description: Coded reason the encounter takes place
        required: false
        schema:
          type: string
      - name: participant
        in: query
        description: Persons involved in the encounter other than the patient
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: based-on
        in: query
        description: The ServiceRequest that initiated this encounter
        required: false
        schema:
          type: string
      - 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
      - name: location-period
        in: query
        description: Time period during which the patient was present at the location
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: special-arrangement
        in: query
        description: "Wheelchair, translator, stretcher, etc."
        required: false
        schema:
          type: string
      - name: class
        in: query
        description: Classification of patient encounter
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: practitioner
        in: query
        description: Persons involved in the encounter other than the patient
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: episode-of-care
        in: query
        description: Episode(s) of care that this encounter should be recorded against
        required: false
        schema:
          type: string
      - name: length
        in: query
        description: Length of encounter in days
        required: false
        schema:
          anyOf:
          - type: string
          - type: number
      - name: diagnosis
        in: query
        description: The diagnosis or procedure relevant to the encounter
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: reason-reference
        in: query
        description: Reason the encounter takes place (reference)
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: location
        in: query
        description: Location the encounter takes place
        required: false
        schema:
          type: string
      - name: service-provider
        in: query
        description: The organization (facility) responsible for this encounter
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: account
        in: query
        description: The set of accounts that may be used for billing for this Encounter
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: planned | arrived | triaged | in-progress | onleave | finished
          | cancelled +
        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"
  /{partition_name}/Goal/{id}:
    get:
      tags:
      - Goal
      summary: "read-instance: Read Goal instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/Goal:
    get:
      tags:
      - Goal
      summary: "search-type: Search for Goal instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: Who this goal is intended for
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: start-date
        in: query
        description: When goal pursuit begins
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: lifecycle-status
        in: query
        description: proposed | planned | accepted | active | on-hold | completed
          | cancelled | entered-in-error | rejected
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: achievement-status
        in: query
        description: in-progress | improving | worsening | no-change | achieved |
          sustaining | not-achieved | no-progress | not-attainable
        required: false
        schema:
          type: string
      - 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
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: "E.g. Treatment, dietary, behavioral, etc."
        required: false
        schema:
          type: string
      - name: target-date
        in: query
        description: Reach goal on or before
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      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"
  /{partition_name}/Goal/_search:
    get:
      tags:
      - Goal
      summary: "search-type: Search for Goal instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: Who this goal is intended for
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: start-date
        in: query
        description: When goal pursuit begins
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: lifecycle-status
        in: query
        description: proposed | planned | accepted | active | on-hold | completed
          | cancelled | entered-in-error | rejected
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: achievement-status
        in: query
        description: in-progress | improving | worsening | no-change | achieved |
          sustaining | not-achieved | no-progress | not-attainable
        required: false
        schema:
          type: string
      - 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
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: "E.g. Treatment, dietary, behavioral, etc."
        required: false
        schema:
          type: string
      - name: target-date
        in: query
        description: Reach goal on or before
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      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"
  /{partition_name}/Immunization/{id}:
    get:
      tags:
      - Immunization
      summary: "read-instance: Read Immunization instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/Immunization:
    get:
      tags:
      - Immunization
      summary: "search-type: Search for Immunization instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html):\
          \ Time period plan covers\r\n* [CareTeam](careteam.html): Time period team\
          \ covers\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment\
          \ was documented\r\n* [Composition](composition.html): Composition editing\
          \ time\r\n* [Consent](consent.html): When this Consent was created or indexed\r\
          \n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time\
          \ of the report\r\n* [Encounter](encounter.html): A date within the period\
          \ the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided\
          \ date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ When history was recorded or last updated\r\n* [Flag](flag.html): Time\
          \ period when flag is active\r\n* [Immunization](immunization.html): Vaccination\
          \  (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\
          \n* [Observation](observation.html): Obtained date/time. If the obtained\
          \ element is a period, a date that falls in the period\r\n* [Procedure](procedure.html):\
          \ When the procedure was performed\r\n* [RiskAssessment](riskassessment.html):\
          \ When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When\
          \ the request was made"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: performer
        in: query
        description: The practitioner or organization who played a role in the vaccination
        required: false
        schema:
          type: string
      - name: reaction
        in: query
        description: Additional information on reaction
        required: false
        schema:
          type: string
      - name: lot-number
        in: query
        description: Vaccine Lot Number
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: status-reason
        in: query
        description: Reason why the vaccine was not administered
        required: false
        schema:
          type: string
      - name: reason-code
        in: query
        description: Reason why the vaccine was administered
        required: false
        schema:
          type: string
      - name: manufacturer
        in: query
        description: Vaccine Manufacturer
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: target-disease
        in: query
        description: The target disease the dose is being administered against
        required: false
        schema:
          type: string
      - 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
      - name: series
        in: query
        description: The series being followed by the provider
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: vaccine-code
        in: query
        description: Vaccine Product Administered
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: reason-reference
        in: query
        description: Why immunization occurred
        required: false
        schema:
          type: string
      - name: location
        in: query
        description: The service delivery location or facility in which the vaccine
          was / was to be administered
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: reaction-date
        in: query
        description: When reaction started
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: status
        in: query
        description: Immunization event status
        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"
  /{partition_name}/Immunization/_search:
    get:
      tags:
      - Immunization
      summary: "search-type: Search for Immunization instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html):\
          \ Time period plan covers\r\n* [CareTeam](careteam.html): Time period team\
          \ covers\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment\
          \ was documented\r\n* [Composition](composition.html): Composition editing\
          \ time\r\n* [Consent](consent.html): When this Consent was created or indexed\r\
          \n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time\
          \ of the report\r\n* [Encounter](encounter.html): A date within the period\
          \ the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided\
          \ date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ When history was recorded or last updated\r\n* [Flag](flag.html): Time\
          \ period when flag is active\r\n* [Immunization](immunization.html): Vaccination\
          \  (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\
          \n* [Observation](observation.html): Obtained date/time. If the obtained\
          \ element is a period, a date that falls in the period\r\n* [Procedure](procedure.html):\
          \ When the procedure was performed\r\n* [RiskAssessment](riskassessment.html):\
          \ When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When\
          \ the request was made"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: performer
        in: query
        description: The practitioner or organization who played a role in the vaccination
        required: false
        schema:
          type: string
      - name: reaction
        in: query
        description: Additional information on reaction
        required: false
        schema:
          type: string
      - name: lot-number
        in: query
        description: Vaccine Lot Number
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: status-reason
        in: query
        description: Reason why the vaccine was not administered
        required: false
        schema:
          type: string
      - name: reason-code
        in: query
        description: Reason why the vaccine was administered
        required: false
        schema:
          type: string
      - name: manufacturer
        in: query
        description: Vaccine Manufacturer
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: target-disease
        in: query
        description: The target disease the dose is being administered against
        required: false
        schema:
          type: string
      - 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
      - name: series
        in: query
        description: The series being followed by the provider
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: vaccine-code
        in: query
        description: Vaccine Product Administered
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: reason-reference
        in: query
        description: Why immunization occurred
        required: false
        schema:
          type: string
      - name: location
        in: query
        description: The service delivery location or facility in which the vaccine
          was / was to be administered
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: reaction-date
        in: query
        description: When reaction started
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: status
        in: query
        description: Immunization event status
        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"
  /{partition_name}/Location/{id}:
    get:
      tags:
      - Location
      summary: "read-instance: Read Location instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/Location:
    get:
      tags:
      - Location
      summary: "search-type: Search for Location instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: partof
        in: query
        description: A location of which this location is a part
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: An identifier for the location
        required: false
        schema:
          type: string
      - name: address
        in: query
        description: A (part of the) address of the location
        required: false
        schema:
          type: string
      - name: address-state
        in: query
        description: A state specified in an address
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: operational-status
        in: query
        description: "Searches for locations (typically bed/room) that have an operational\
          \ status (e.g. contaminated, housekeeping)"
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: A code for the type of location
        required: false
        schema:
          type: string
      - name: address-postalcode
        in: query
        description: A postal code specified in an address
        required: false
        schema:
          type: string
      - name: address-country
        in: query
        description: A country specified in an address
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: endpoint
        in: query
        description: Technical endpoints providing access to services operated for
          the location
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: organization
        in: query
        description: Searches for locations that are managed by the provided organization
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: address-use
        in: query
        description: A use code specified in an address
        required: false
        schema:
          type: string
      - name: name
        in: query
        description: A portion of the location's name or alias
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: near
        in: query
        description: |-
          Search for locations where the location.position is near to, or within a specified distance of, the provided coordinates expressed as [latitude]|[longitude]|[distance]|[units] (using the WGS84 datum, see notes).
          If the units are omitted, then kms should be assumed. If the distance is omitted, then the server can use its own discretion as to what distances should be considered near (and units are irrelevant)

          Servers may search using various techniques that might have differing accuracies, depending on implementation efficiency.

          Requires the near-distance parameter to be provided also
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: address-city
        in: query
        description: A city specified in an address
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: Searches for locations with a specific kind of status
        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"
  /{partition_name}/Location/_search:
    get:
      tags:
      - Location
      summary: "search-type: Search for Location instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: partof
        in: query
        description: A location of which this location is a part
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: An identifier for the location
        required: false
        schema:
          type: string
      - name: address
        in: query
        description: A (part of the) address of the location
        required: false
        schema:
          type: string
      - name: address-state
        in: query
        description: A state specified in an address
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: operational-status
        in: query
        description: "Searches for locations (typically bed/room) that have an operational\
          \ status (e.g. contaminated, housekeeping)"
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: A code for the type of location
        required: false
        schema:
          type: string
      - name: address-postalcode
        in: query
        description: A postal code specified in an address
        required: false
        schema:
          type: string
      - name: address-country
        in: query
        description: A country specified in an address
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: endpoint
        in: query
        description: Technical endpoints providing access to services operated for
          the location
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: organization
        in: query
        description: Searches for locations that are managed by the provided organization
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: address-use
        in: query
        description: A use code specified in an address
        required: false
        schema:
          type: string
      - name: name
        in: query
        description: A portion of the location's name or alias
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: near
        in: query
        description: |-
          Search for locations where the location.position is near to, or within a specified distance of, the provided coordinates expressed as [latitude]|[longitude]|[distance]|[units] (using the WGS84 datum, see notes).
          If the units are omitted, then kms should be assumed. If the distance is omitted, then the server can use its own discretion as to what distances should be considered near (and units are irrelevant)

          Servers may search using various techniques that might have differing accuracies, depending on implementation efficiency.

          Requires the near-distance parameter to be provided also
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: address-city
        in: query
        description: A city specified in an address
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: Searches for locations with a specific kind of status
        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"
  /{partition_name}/Medication/{id}:
    get:
      tags:
      - Medication
      summary: "read-instance: Read Medication instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/Medication:
    get:
      tags:
      - Medication
      summary: "search-type: Search for Medication instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: identifier
        in: query
        description: Returns medications with this external identifier
        required: false
        schema:
          type: string
      - name: ingredient
        in: query
        description: Returns medications for this ingredient reference
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: lot-number
        in: query
        description: Returns medications in a batch with this lot number
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: manufacturer
        in: query
        description: Returns medications made or sold for this manufacturer
        required: false
        schema:
          type: string
      - name: ingredient-code
        in: query
        description: Returns medications for this ingredient code
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: form
        in: query
        description: Returns medications for a specific dose form
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: expiration-date
        in: query
        description: Returns medications in a batch with this expiration date
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: status
        in: query
        description: Returns medications for this status
        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"
  /{partition_name}/Medication/_search:
    get:
      tags:
      - Medication
      summary: "search-type: Search for Medication instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: identifier
        in: query
        description: Returns medications with this external identifier
        required: false
        schema:
          type: string
      - name: ingredient
        in: query
        description: Returns medications for this ingredient reference
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: lot-number
        in: query
        description: Returns medications in a batch with this lot number
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: manufacturer
        in: query
        description: Returns medications made or sold for this manufacturer
        required: false
        schema:
          type: string
      - name: ingredient-code
        in: query
        description: Returns medications for this ingredient code
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: form
        in: query
        description: Returns medications for a specific dose form
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: expiration-date
        in: query
        description: Returns medications in a batch with this expiration date
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: status
        in: query
        description: Returns medications for this status
        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"
  /{partition_name}/MedicationDispense/{id}:
    get:
      tags:
      - MedicationDispense
      summary: "read-instance: Read MedicationDispense instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/MedicationDispense:
    get:
      tags:
      - MedicationDispense
      summary: "search-type: Search for MedicationDispense instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: performer
        in: query
        description: Returns dispenses performed by a specific individual
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: receiver
        in: query
        description: The identity of a receiver to list dispenses for
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: The identity of a patient for whom to list dispenses
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: destination
        in: query
        description: Returns dispenses that should be sent to a specific destination
        required: false
        schema:
          type: string
      - name: medication
        in: query
        description: "Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication resource\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine resource\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions for this medication reference\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication reference"
        required: false
        schema:
          type: string
      - name: responsibleparty
        in: query
        description: Returns dispenses with the specified responsible party
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: Returns dispenses of a specific type
        required: false
        schema:
          type: string
      - name: whenhandedover
        in: query
        description: Returns dispenses handed over on this date
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: whenprepared
        in: query
        description: Returns dispenses prepared on this date
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: prescription
        in: query
        description: "Multiple Resources: \r\n\r\n* [MedicationDispense](medicationdispense.html):\
          \ The identity of a prescription to list dispenses from"
        required: false
        schema:
          type: string
      - 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
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: context
        in: query
        description: Returns dispenses with a specific context (episode or episode
          of care)
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: "Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html):\
          \ MedicationAdministration event status (for example one of active/paused/completed/nullified)\r\
          \n* [MedicationDispense](medicationdispense.html): Returns dispenses with\
          \ a specified dispense status\r\n* [MedicationRequest](medicationrequest.html):\
          \ Status of the prescription\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements that match the given status"
        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"
  /{partition_name}/MedicationDispense/_search:
    get:
      tags:
      - MedicationDispense
      summary: "search-type: Search for MedicationDispense instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: performer
        in: query
        description: Returns dispenses performed by a specific individual
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: receiver
        in: query
        description: The identity of a receiver to list dispenses for
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: The identity of a patient for whom to list dispenses
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: destination
        in: query
        description: Returns dispenses that should be sent to a specific destination
        required: false
        schema:
          type: string
      - name: medication
        in: query
        description: "Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication resource\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine resource\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions for this medication reference\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication reference"
        required: false
        schema:
          type: string
      - name: responsibleparty
        in: query
        description: Returns dispenses with the specified responsible party
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: Returns dispenses of a specific type
        required: false
        schema:
          type: string
      - name: whenhandedover
        in: query
        description: Returns dispenses handed over on this date
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: whenprepared
        in: query
        description: Returns dispenses prepared on this date
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: prescription
        in: query
        description: "Multiple Resources: \r\n\r\n* [MedicationDispense](medicationdispense.html):\
          \ The identity of a prescription to list dispenses from"
        required: false
        schema:
          type: string
      - 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
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: context
        in: query
        description: Returns dispenses with a specific context (episode or episode
          of care)
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: "Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html):\
          \ MedicationAdministration event status (for example one of active/paused/completed/nullified)\r\
          \n* [MedicationDispense](medicationdispense.html): Returns dispenses with\
          \ a specified dispense status\r\n* [MedicationRequest](medicationrequest.html):\
          \ Status of the prescription\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements that match the given status"
        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"
  /{partition_name}/MedicationRequest/{id}:
    get:
      tags:
      - MedicationRequest
      summary: "read-instance: Read MedicationRequest instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/MedicationRequest:
    get:
      tags:
      - MedicationRequest
      summary: "search-type: Search for MedicationRequest instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [MedicationRequest](medicationrequest.html):\
          \ Returns medication request to be administered on a specific date"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: requester
        in: query
        description: Returns prescriptions prescribed by this prescriber
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: intended-dispenser
        in: query
        description: Returns prescriptions intended to be dispensed by this Organization
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: authoredon
        in: query
        description: Return prescriptions written on this date
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: subject
        in: query
        description: The identity of a patient to list orders  for
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: medication
        in: query
        description: "Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication resource\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine resource\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions for this medication reference\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication reference"
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: "Multiple Resources: \r\n\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this encounter identifier"
        required: false
        schema:
          type: string
      - name: priority
        in: query
        description: Returns prescriptions with different priorities
        required: false
        schema:
          type: string
      - name: intent
        in: query
        description: Returns prescriptions with different intents
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: intended-performer
        in: query
        description: Returns the intended performer of the administration of the medication
          request
        required: false
        schema:
          type: string
      - 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
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: intended-performertype
        in: query
        description: Returns requests for a specific type of performer
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: Returns prescriptions with different categories
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: "Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html):\
          \ MedicationAdministration event status (for example one of active/paused/completed/nullified)\r\
          \n* [MedicationDispense](medicationdispense.html): Returns dispenses with\
          \ a specified dispense status\r\n* [MedicationRequest](medicationrequest.html):\
          \ Status of the prescription\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements that match the given status"
        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"
  /{partition_name}/MedicationRequest/_search:
    get:
      tags:
      - MedicationRequest
      summary: "search-type: Search for MedicationRequest instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [MedicationRequest](medicationrequest.html):\
          \ Returns medication request to be administered on a specific date"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: requester
        in: query
        description: Returns prescriptions prescribed by this prescriber
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: intended-dispenser
        in: query
        description: Returns prescriptions intended to be dispensed by this Organization
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: authoredon
        in: query
        description: Return prescriptions written on this date
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: subject
        in: query
        description: The identity of a patient to list orders  for
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: medication
        in: query
        description: "Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication resource\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine resource\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions for this medication reference\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication reference"
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: "Multiple Resources: \r\n\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this encounter identifier"
        required: false
        schema:
          type: string
      - name: priority
        in: query
        description: Returns prescriptions with different priorities
        required: false
        schema:
          type: string
      - name: intent
        in: query
        description: Returns prescriptions with different intents
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: intended-performer
        in: query
        description: Returns the intended performer of the administration of the medication
          request
        required: false
        schema:
          type: string
      - 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
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: intended-performertype
        in: query
        description: Returns requests for a specific type of performer
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: Returns prescriptions with different categories
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: "Multiple Resources: \r\n\r\n* [MedicationAdministration](medicationadministration.html):\
          \ MedicationAdministration event status (for example one of active/paused/completed/nullified)\r\
          \n* [MedicationDispense](medicationdispense.html): Returns dispenses with\
          \ a specified dispense status\r\n* [MedicationRequest](medicationrequest.html):\
          \ Status of the prescription\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements that match the given status"
        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"
  /{partition_name}/Observation/{id}:
    get:
      tags:
      - Observation
      summary: "read-instance: Read Observation instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/Observation:
    get:
      tags:
      - Observation
      summary: "search-type: Search for Observation instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html):\
          \ Time period plan covers\r\n* [CareTeam](careteam.html): Time period team\
          \ covers\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment\
          \ was documented\r\n* [Composition](composition.html): Composition editing\
          \ time\r\n* [Consent](consent.html): When this Consent was created or indexed\r\
          \n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time\
          \ of the report\r\n* [Encounter](encounter.html): A date within the period\
          \ the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided\
          \ date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ When history was recorded or last updated\r\n* [Flag](flag.html): Time\
          \ period when flag is active\r\n* [Immunization](immunization.html): Vaccination\
          \  (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\
          \n* [Observation](observation.html): Obtained date/time. If the obtained\
          \ element is a period, a date that falls in the period\r\n* [Procedure](procedure.html):\
          \ When the procedure was performed\r\n* [RiskAssessment](riskassessment.html):\
          \ When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When\
          \ the request was made"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: combo-data-absent-reason
        in: query
        description: "The reason why the expected value in the element Observation.value[x]\
          \ or Observation.component.value[x] is missing."
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: component-data-absent-reason
        in: query
        description: "The reason why the expected value in the element Observation.component.value[x]\
          \ is missing."
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: The subject that the observation is about
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: value-date
        in: query
        description: "The value of the observation, if the value is a date or period\
          \ of time"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: value-concept
        in: query
        description: "The value of the observation, if the value is a CodeableConcept"
        required: false
        schema:
          type: string
      - name: focus
        in: query
        description: The focus of an observation when the focus is not the patient
          of record.
        required: false
        schema:
          type: string
      - name: derived-from
        in: query
        description: Related measurements the observation is made from
        required: false
        schema:
          type: string
      - name: part-of
        in: query
        description: Part of referenced event
        required: false
        schema:
          type: string
      - name: has-member
        in: query
        description: Related resource that belongs to the Observation group
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: based-on
        in: query
        description: Reference to the service request.
        required: false
        schema:
          type: string
      - 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
      - name: specimen
        in: query
        description: Specimen used for this observation
        required: false
        schema:
          type: string
      - name: component-code
        in: query
        description: The component code of the observation type
        required: false
        schema:
          type: string
      - name: value-string
        in: query
        description: "The value of the observation, if the value is a string, and\
          \ also searches in CodeableConcept.text"
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: performer
        in: query
        description: Who performed the observation
        required: false
        schema:
          type: string
      - name: method
        in: query
        description: The method used for the observation
        required: false
        schema:
          type: string
      - name: combo-code
        in: query
        description: The code of the observation type or component type
        required: false
        schema:
          type: string
      - name: value-quantity
        in: query
        description: "The value of the observation, if the value is a Quantity, or\
          \ a SampledData (just search on the bounds of the values in sampled data)"
        required: false
        schema:
          anyOf:
          - type: string
          - type: number
      - name: component-value-quantity
        in: query
        description: "The value of the component observation, if the value is a Quantity,\
          \ or a SampledData (just search on the bounds of the values in sampled data)"
        required: false
        schema:
          anyOf:
          - type: string
          - type: number
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: data-absent-reason
        in: query
        description: "The reason why the expected value in the element Observation.value[x]\
          \ is missing."
        required: false
        schema:
          type: string
      - name: combo-value-quantity
        in: query
        description: "The value or component value of the observation, if the value\
          \ is a Quantity, or a SampledData (just search on the bounds of the values\
          \ in sampled data)"
        required: false
        schema:
          anyOf:
          - type: string
          - type: number
      - name: encounter
        in: query
        description: "Multiple Resources: \r\n\r\n* [Composition](composition.html):\
          \ Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter\
          \ during which request was created\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The Encounter when the order was made\r\n* [DocumentReference](documentreference.html):\
          \ Context of the document  content\r\n* [Flag](flag.html): Alert relevant\
          \ during encounter\r\n* [List](list.html): Context in which list created\r\
          \n* [NutritionOrder](nutritionorder.html): Return nutrition orders with\
          \ this encounter identifier\r\n* [Observation](observation.html): Encounter\
          \ related to the observation\r\n* [Procedure](procedure.html): Encounter\
          \ created as part of\r\n* [RiskAssessment](riskassessment.html): Where was\
          \ assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter\
          \ in which this request is made\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this encounter identifier"
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: component-value-concept
        in: query
        description: "The value of the component observation, if the value is a CodeableConcept"
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: The classification of the type of observation
        required: false
        schema:
          type: string
      - name: device
        in: query
        description: The Device that generated the observation data.
        required: false
        schema:
          type: string
      - name: combo-value-concept
        in: query
        description: "The value or component value of the observation, if the value\
          \ is a CodeableConcept"
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: The status of the observation
        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"
  /{partition_name}/Observation/_search:
    get:
      tags:
      - Observation
      summary: "search-type: Search for Observation instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html):\
          \ Time period plan covers\r\n* [CareTeam](careteam.html): Time period team\
          \ covers\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment\
          \ was documented\r\n* [Composition](composition.html): Composition editing\
          \ time\r\n* [Consent](consent.html): When this Consent was created or indexed\r\
          \n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time\
          \ of the report\r\n* [Encounter](encounter.html): A date within the period\
          \ the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided\
          \ date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ When history was recorded or last updated\r\n* [Flag](flag.html): Time\
          \ period when flag is active\r\n* [Immunization](immunization.html): Vaccination\
          \  (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\
          \n* [Observation](observation.html): Obtained date/time. If the obtained\
          \ element is a period, a date that falls in the period\r\n* [Procedure](procedure.html):\
          \ When the procedure was performed\r\n* [RiskAssessment](riskassessment.html):\
          \ When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When\
          \ the request was made"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: combo-data-absent-reason
        in: query
        description: "The reason why the expected value in the element Observation.value[x]\
          \ or Observation.component.value[x] is missing."
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: component-data-absent-reason
        in: query
        description: "The reason why the expected value in the element Observation.component.value[x]\
          \ is missing."
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: The subject that the observation is about
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: value-date
        in: query
        description: "The value of the observation, if the value is a date or period\
          \ of time"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: value-concept
        in: query
        description: "The value of the observation, if the value is a CodeableConcept"
        required: false
        schema:
          type: string
      - name: focus
        in: query
        description: The focus of an observation when the focus is not the patient
          of record.
        required: false
        schema:
          type: string
      - name: derived-from
        in: query
        description: Related measurements the observation is made from
        required: false
        schema:
          type: string
      - name: part-of
        in: query
        description: Part of referenced event
        required: false
        schema:
          type: string
      - name: has-member
        in: query
        description: Related resource that belongs to the Observation group
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: based-on
        in: query
        description: Reference to the service request.
        required: false
        schema:
          type: string
      - 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
      - name: specimen
        in: query
        description: Specimen used for this observation
        required: false
        schema:
          type: string
      - name: component-code
        in: query
        description: The component code of the observation type
        required: false
        schema:
          type: string
      - name: value-string
        in: query
        description: "The value of the observation, if the value is a string, and\
          \ also searches in CodeableConcept.text"
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: performer
        in: query
        description: Who performed the observation
        required: false
        schema:
          type: string
      - name: method
        in: query
        description: The method used for the observation
        required: false
        schema:
          type: string
      - name: combo-code
        in: query
        description: The code of the observation type or component type
        required: false
        schema:
          type: string
      - name: value-quantity
        in: query
        description: "The value of the observation, if the value is a Quantity, or\
          \ a SampledData (just search on the bounds of the values in sampled data)"
        required: false
        schema:
          anyOf:
          - type: string
          - type: number
      - name: component-value-quantity
        in: query
        description: "The value of the component observation, if the value is a Quantity,\
          \ or a SampledData (just search on the bounds of the values in sampled data)"
        required: false
        schema:
          anyOf:
          - type: string
          - type: number
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: data-absent-reason
        in: query
        description: "The reason why the expected value in the element Observation.value[x]\
          \ is missing."
        required: false
        schema:
          type: string
      - name: combo-value-quantity
        in: query
        description: "The value or component value of the observation, if the value\
          \ is a Quantity, or a SampledData (just search on the bounds of the values\
          \ in sampled data)"
        required: false
        schema:
          anyOf:
          - type: string
          - type: number
      - name: encounter
        in: query
        description: "Multiple Resources: \r\n\r\n* [Composition](composition.html):\
          \ Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter\
          \ during which request was created\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The Encounter when the order was made\r\n* [DocumentReference](documentreference.html):\
          \ Context of the document  content\r\n* [Flag](flag.html): Alert relevant\
          \ during encounter\r\n* [List](list.html): Context in which list created\r\
          \n* [NutritionOrder](nutritionorder.html): Return nutrition orders with\
          \ this encounter identifier\r\n* [Observation](observation.html): Encounter\
          \ related to the observation\r\n* [Procedure](procedure.html): Encounter\
          \ created as part of\r\n* [RiskAssessment](riskassessment.html): Where was\
          \ assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter\
          \ in which this request is made\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this encounter identifier"
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: component-value-concept
        in: query
        description: "The value of the component observation, if the value is a CodeableConcept"
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: The classification of the type of observation
        required: false
        schema:
          type: string
      - name: device
        in: query
        description: The Device that generated the observation data.
        required: false
        schema:
          type: string
      - name: combo-value-concept
        in: query
        description: "The value or component value of the observation, if the value\
          \ is a CodeableConcept"
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: The status of the observation
        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"
  /{partition_name}/Organization/{id}:
    get:
      tags:
      - Organization
      summary: "read-instance: Read Organization instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/Organization:
    get:
      tags:
      - Organization
      summary: "search-type: Search for Organization instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: partof
        in: query
        description: An organization of which this organization forms a part
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: Any identifier for the organization (not the accreditation issuer's
          identifier)
        required: false
        schema:
          type: string
      - name: address
        in: query
        description: "A server defined search that may match any of the string fields\
          \ in the Address, including line, city, district, state, country, postalCode,\
          \ and/or text"
        required: false
        schema:
          type: string
      - name: address-state
        in: query
        description: A state specified in an address
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: active
        in: query
        description: Is the Organization record active
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: A code for the type of organization
        required: false
        schema:
          type: string
      - name: address-postalcode
        in: query
        description: A postal code specified in an address
        required: false
        schema:
          type: string
      - name: address-country
        in: query
        description: A country specified in an address
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: endpoint
        in: query
        description: Technical endpoints providing access to services operated for
          the organization
        required: false
        schema:
          type: string
      - name: phonetic
        in: query
        description: A portion of the organization's name using some kind of phonetic
          matching algorithm
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: name
        in: query
        description: A portion of the organization's name or alias
        required: false
        schema:
          type: string
      - name: address-use
        in: query
        description: A use code specified in an address
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: address-city
        in: query
        description: A city specified in an address
        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"
  /{partition_name}/Organization/_search:
    get:
      tags:
      - Organization
      summary: "search-type: Search for Organization instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: partof
        in: query
        description: An organization of which this organization forms a part
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: Any identifier for the organization (not the accreditation issuer's
          identifier)
        required: false
        schema:
          type: string
      - name: address
        in: query
        description: "A server defined search that may match any of the string fields\
          \ in the Address, including line, city, district, state, country, postalCode,\
          \ and/or text"
        required: false
        schema:
          type: string
      - name: address-state
        in: query
        description: A state specified in an address
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: active
        in: query
        description: Is the Organization record active
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: A code for the type of organization
        required: false
        schema:
          type: string
      - name: address-postalcode
        in: query
        description: A postal code specified in an address
        required: false
        schema:
          type: string
      - name: address-country
        in: query
        description: A country specified in an address
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: endpoint
        in: query
        description: Technical endpoints providing access to services operated for
          the organization
        required: false
        schema:
          type: string
      - name: phonetic
        in: query
        description: A portion of the organization's name using some kind of phonetic
          matching algorithm
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: name
        in: query
        description: A portion of the organization's name or alias
        required: false
        schema:
          type: string
      - name: address-use
        in: query
        description: A use code specified in an address
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: address-city
        in: query
        description: A city specified in an address
        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"
  /{partition_name}/Patient/{id}:
    get:
      tags:
      - Patient
      summary: "read-instance: Read Patient instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/Patient:
    get:
      tags:
      - Patient
      summary: "search-type: Search for Patient instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: birthdate
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): The patient's\
          \ date of birth\r\n* [Person](person.html): The person's date of birth\r\
          \n* [RelatedPerson](relatedperson.html): The Related Person's date of birth"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: deceased
        in: query
        description: "This patient has been marked as deceased, or as a death date\
          \ entered"
        required: false
        schema:
          type: string
      - name: address-state
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A state\
          \ specified in an address\r\n* [Person](person.html): A state specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A state specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A state specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: gender
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): Gender\
          \ of the patient\r\n* [Person](person.html): The gender of the person\r\n\
          * [Practitioner](practitioner.html): Gender of the practitioner\r\n* [RelatedPerson](relatedperson.html):\
          \ Gender of the related person"
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: link
        in: query
        description: All patients linked to the given patient
        required: false
        schema:
          type: string
      - name: language
        in: query
        description: Language code (irrespective of use value)
        required: false
        schema:
          type: string
      - name: address-country
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A country\
          \ specified in an address\r\n* [Person](person.html): A country specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A country specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A country specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: death-date
        in: query
        description: The date of death has been provided and satisfies this search
          value
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: phonetic
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion\
          \ of either family or given name using some kind of phonetic matching algorithm\r\
          \n* [Person](person.html): A portion of name using some kind of phonetic\
          \ matching algorithm\r\n* [Practitioner](practitioner.html): A portion of\
          \ either family or given name using some kind of phonetic matching algorithm\r\
          \n* [RelatedPerson](relatedperson.html): A portion of name using some kind\
          \ of phonetic matching algorithm"
        required: false
        schema:
          type: string
      - name: telecom
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): The value\
          \ in any kind of telecom details of the patient\r\n* [Person](person.html):\
          \ The value in any kind of contact\r\n* [Practitioner](practitioner.html):\
          \ The value in any kind of contact\r\n* [PractitionerRole](practitionerrole.html):\
          \ The value in any kind of contact\r\n* [RelatedPerson](relatedperson.html):\
          \ The value in any kind of contact"
        required: false
        schema:
          type: string
      - name: address-city
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A city\
          \ specified in an address\r\n* [Person](person.html): A city specified in\
          \ an address\r\n* [Practitioner](practitioner.html): A city specified in\
          \ an address\r\n* [RelatedPerson](relatedperson.html): A city specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: email
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A value\
          \ in an email contact\r\n* [Person](person.html): A value in an email contact\r\
          \n* [Practitioner](practitioner.html): A value in an email contact\r\n*\
          \ [PractitionerRole](practitionerrole.html): A value in an email contact\r\
          \n* [RelatedPerson](relatedperson.html): A value in an email contact"
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: A patient identifier
        required: false
        schema:
          type: string
      - name: given
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion\
          \ of the given name of the patient\r\n* [Practitioner](practitioner.html):\
          \ A portion of the given name"
        required: false
        schema:
          type: string
      - name: address
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A server\
          \ defined search that may match any of the string fields in the Address,\
          \ including line, city, district, state, country, postalCode, and/or text\r\
          \n* [Person](person.html): A server defined search that may match any of\
          \ the string fields in the Address, including line, city, district, state,\
          \ country, postalCode, and/or text\r\n* [Practitioner](practitioner.html):\
          \ A server defined search that may match any of the string fields in the\
          \ Address, including line, city, district, state, country, postalCode, and/or\
          \ text\r\n* [RelatedPerson](relatedperson.html): A server defined search\
          \ that may match any of the string fields in the Address, including line,\
          \ city, district, state, country, postalCode, and/or text"
        required: false
        schema:
          type: string
      - name: general-practitioner
        in: query
        description: "Patient's nominated general practitioner, not the organization\
          \ that manages the record"
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: active
        in: query
        description: Whether the patient record is active
        required: false
        schema:
          type: string
      - name: address-postalcode
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A postalCode\
          \ specified in an address\r\n* [Person](person.html): A postal code specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A postalCode specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A postal code\
          \ specified in an address"
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: phone
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A value\
          \ in a phone contact\r\n* [Person](person.html): A value in a phone contact\r\
          \n* [Practitioner](practitioner.html): A value in a phone contact\r\n* [PractitionerRole](practitionerrole.html):\
          \ A value in a phone contact\r\n* [RelatedPerson](relatedperson.html): A\
          \ value in a phone contact"
        required: false
        schema:
          type: string
      - name: organization
        in: query
        description: The organization that is the custodian of the patient record
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: address-use
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A use\
          \ code specified in an address\r\n* [Person](person.html): A use code specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A use code specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A use code specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: name
        in: query
        description: "A server defined search that may match any of the string fields\
          \ in the HumanName, including family, give, prefix, suffix, suffix, and/or\
          \ text"
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: family
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion\
          \ of the family name of the patient\r\n* [Practitioner](practitioner.html):\
          \ A portion of the family name"
        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"
  /{partition_name}/Patient/_search:
    get:
      tags:
      - Patient
      summary: "search-type: Search for Patient instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: birthdate
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): The patient's\
          \ date of birth\r\n* [Person](person.html): The person's date of birth\r\
          \n* [RelatedPerson](relatedperson.html): The Related Person's date of birth"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: deceased
        in: query
        description: "This patient has been marked as deceased, or as a death date\
          \ entered"
        required: false
        schema:
          type: string
      - name: address-state
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A state\
          \ specified in an address\r\n* [Person](person.html): A state specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A state specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A state specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: gender
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): Gender\
          \ of the patient\r\n* [Person](person.html): The gender of the person\r\n\
          * [Practitioner](practitioner.html): Gender of the practitioner\r\n* [RelatedPerson](relatedperson.html):\
          \ Gender of the related person"
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: link
        in: query
        description: All patients linked to the given patient
        required: false
        schema:
          type: string
      - name: language
        in: query
        description: Language code (irrespective of use value)
        required: false
        schema:
          type: string
      - name: address-country
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A country\
          \ specified in an address\r\n* [Person](person.html): A country specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A country specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A country specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: death-date
        in: query
        description: The date of death has been provided and satisfies this search
          value
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: phonetic
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion\
          \ of either family or given name using some kind of phonetic matching algorithm\r\
          \n* [Person](person.html): A portion of name using some kind of phonetic\
          \ matching algorithm\r\n* [Practitioner](practitioner.html): A portion of\
          \ either family or given name using some kind of phonetic matching algorithm\r\
          \n* [RelatedPerson](relatedperson.html): A portion of name using some kind\
          \ of phonetic matching algorithm"
        required: false
        schema:
          type: string
      - name: telecom
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): The value\
          \ in any kind of telecom details of the patient\r\n* [Person](person.html):\
          \ The value in any kind of contact\r\n* [Practitioner](practitioner.html):\
          \ The value in any kind of contact\r\n* [PractitionerRole](practitionerrole.html):\
          \ The value in any kind of contact\r\n* [RelatedPerson](relatedperson.html):\
          \ The value in any kind of contact"
        required: false
        schema:
          type: string
      - name: address-city
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A city\
          \ specified in an address\r\n* [Person](person.html): A city specified in\
          \ an address\r\n* [Practitioner](practitioner.html): A city specified in\
          \ an address\r\n* [RelatedPerson](relatedperson.html): A city specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: email
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A value\
          \ in an email contact\r\n* [Person](person.html): A value in an email contact\r\
          \n* [Practitioner](practitioner.html): A value in an email contact\r\n*\
          \ [PractitionerRole](practitionerrole.html): A value in an email contact\r\
          \n* [RelatedPerson](relatedperson.html): A value in an email contact"
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: A patient identifier
        required: false
        schema:
          type: string
      - name: given
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion\
          \ of the given name of the patient\r\n* [Practitioner](practitioner.html):\
          \ A portion of the given name"
        required: false
        schema:
          type: string
      - name: address
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A server\
          \ defined search that may match any of the string fields in the Address,\
          \ including line, city, district, state, country, postalCode, and/or text\r\
          \n* [Person](person.html): A server defined search that may match any of\
          \ the string fields in the Address, including line, city, district, state,\
          \ country, postalCode, and/or text\r\n* [Practitioner](practitioner.html):\
          \ A server defined search that may match any of the string fields in the\
          \ Address, including line, city, district, state, country, postalCode, and/or\
          \ text\r\n* [RelatedPerson](relatedperson.html): A server defined search\
          \ that may match any of the string fields in the Address, including line,\
          \ city, district, state, country, postalCode, and/or text"
        required: false
        schema:
          type: string
      - name: general-practitioner
        in: query
        description: "Patient's nominated general practitioner, not the organization\
          \ that manages the record"
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: active
        in: query
        description: Whether the patient record is active
        required: false
        schema:
          type: string
      - name: address-postalcode
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A postalCode\
          \ specified in an address\r\n* [Person](person.html): A postal code specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A postalCode specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A postal code\
          \ specified in an address"
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: phone
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A value\
          \ in a phone contact\r\n* [Person](person.html): A value in a phone contact\r\
          \n* [Practitioner](practitioner.html): A value in a phone contact\r\n* [PractitionerRole](practitionerrole.html):\
          \ A value in a phone contact\r\n* [RelatedPerson](relatedperson.html): A\
          \ value in a phone contact"
        required: false
        schema:
          type: string
      - name: organization
        in: query
        description: The organization that is the custodian of the patient record
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: address-use
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A use\
          \ code specified in an address\r\n* [Person](person.html): A use code specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A use code specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A use code specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: name
        in: query
        description: "A server defined search that may match any of the string fields\
          \ in the HumanName, including family, give, prefix, suffix, suffix, and/or\
          \ text"
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: family
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion\
          \ of the family name of the patient\r\n* [Practitioner](practitioner.html):\
          \ A portion of the family name"
        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"
  /{partition_name}/Practitioner/{id}:
    get:
      tags:
      - Practitioner
      summary: "read-instance: Read Practitioner instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/Practitioner:
    get:
      tags:
      - Practitioner
      summary: "search-type: Search for Practitioner instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: address-state
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A state\
          \ specified in an address\r\n* [Person](person.html): A state specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A state specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A state specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: gender
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): Gender\
          \ of the patient\r\n* [Person](person.html): The gender of the person\r\n\
          * [Practitioner](practitioner.html): Gender of the practitioner\r\n* [RelatedPerson](relatedperson.html):\
          \ Gender of the related person"
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: address-country
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A country\
          \ specified in an address\r\n* [Person](person.html): A country specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A country specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A country specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: phonetic
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion\
          \ of either family or given name using some kind of phonetic matching algorithm\r\
          \n* [Person](person.html): A portion of name using some kind of phonetic\
          \ matching algorithm\r\n* [Practitioner](practitioner.html): A portion of\
          \ either family or given name using some kind of phonetic matching algorithm\r\
          \n* [RelatedPerson](relatedperson.html): A portion of name using some kind\
          \ of phonetic matching algorithm"
        required: false
        schema:
          type: string
      - name: telecom
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): The value\
          \ in any kind of telecom details of the patient\r\n* [Person](person.html):\
          \ The value in any kind of contact\r\n* [Practitioner](practitioner.html):\
          \ The value in any kind of contact\r\n* [PractitionerRole](practitionerrole.html):\
          \ The value in any kind of contact\r\n* [RelatedPerson](relatedperson.html):\
          \ The value in any kind of contact"
        required: false
        schema:
          type: string
      - name: communication
        in: query
        description: One of the languages that the practitioner can communicate with
        required: false
        schema:
          type: string
      - name: address-city
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A city\
          \ specified in an address\r\n* [Person](person.html): A city specified in\
          \ an address\r\n* [Practitioner](practitioner.html): A city specified in\
          \ an address\r\n* [RelatedPerson](relatedperson.html): A city specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: email
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A value\
          \ in an email contact\r\n* [Person](person.html): A value in an email contact\r\
          \n* [Practitioner](practitioner.html): A value in an email contact\r\n*\
          \ [PractitionerRole](practitionerrole.html): A value in an email contact\r\
          \n* [RelatedPerson](relatedperson.html): A value in an email contact"
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: A practitioner's Identifier
        required: false
        schema:
          type: string
      - name: given
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion\
          \ of the given name of the patient\r\n* [Practitioner](practitioner.html):\
          \ A portion of the given name"
        required: false
        schema:
          type: string
      - name: address
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A server\
          \ defined search that may match any of the string fields in the Address,\
          \ including line, city, district, state, country, postalCode, and/or text\r\
          \n* [Person](person.html): A server defined search that may match any of\
          \ the string fields in the Address, including line, city, district, state,\
          \ country, postalCode, and/or text\r\n* [Practitioner](practitioner.html):\
          \ A server defined search that may match any of the string fields in the\
          \ Address, including line, city, district, state, country, postalCode, and/or\
          \ text\r\n* [RelatedPerson](relatedperson.html): A server defined search\
          \ that may match any of the string fields in the Address, including line,\
          \ city, district, state, country, postalCode, and/or text"
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: active
        in: query
        description: Whether the practitioner record is active
        required: false
        schema:
          type: string
      - name: address-postalcode
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A postalCode\
          \ specified in an address\r\n* [Person](person.html): A postal code specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A postalCode specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A postal code\
          \ specified in an address"
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: phone
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A value\
          \ in a phone contact\r\n* [Person](person.html): A value in a phone contact\r\
          \n* [Practitioner](practitioner.html): A value in a phone contact\r\n* [PractitionerRole](practitionerrole.html):\
          \ A value in a phone contact\r\n* [RelatedPerson](relatedperson.html): A\
          \ value in a phone contact"
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: address-use
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A use\
          \ code specified in an address\r\n* [Person](person.html): A use code specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A use code specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A use code specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: name
        in: query
        description: "A server defined search that may match any of the string fields\
          \ in the HumanName, including family, give, prefix, suffix, suffix, and/or\
          \ text"
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: family
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion\
          \ of the family name of the patient\r\n* [Practitioner](practitioner.html):\
          \ A portion of the family name"
        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"
  /{partition_name}/Practitioner/_search:
    get:
      tags:
      - Practitioner
      summary: "search-type: Search for Practitioner instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: address-state
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A state\
          \ specified in an address\r\n* [Person](person.html): A state specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A state specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A state specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: gender
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): Gender\
          \ of the patient\r\n* [Person](person.html): The gender of the person\r\n\
          * [Practitioner](practitioner.html): Gender of the practitioner\r\n* [RelatedPerson](relatedperson.html):\
          \ Gender of the related person"
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: address-country
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A country\
          \ specified in an address\r\n* [Person](person.html): A country specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A country specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A country specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: phonetic
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion\
          \ of either family or given name using some kind of phonetic matching algorithm\r\
          \n* [Person](person.html): A portion of name using some kind of phonetic\
          \ matching algorithm\r\n* [Practitioner](practitioner.html): A portion of\
          \ either family or given name using some kind of phonetic matching algorithm\r\
          \n* [RelatedPerson](relatedperson.html): A portion of name using some kind\
          \ of phonetic matching algorithm"
        required: false
        schema:
          type: string
      - name: telecom
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): The value\
          \ in any kind of telecom details of the patient\r\n* [Person](person.html):\
          \ The value in any kind of contact\r\n* [Practitioner](practitioner.html):\
          \ The value in any kind of contact\r\n* [PractitionerRole](practitionerrole.html):\
          \ The value in any kind of contact\r\n* [RelatedPerson](relatedperson.html):\
          \ The value in any kind of contact"
        required: false
        schema:
          type: string
      - name: communication
        in: query
        description: One of the languages that the practitioner can communicate with
        required: false
        schema:
          type: string
      - name: address-city
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A city\
          \ specified in an address\r\n* [Person](person.html): A city specified in\
          \ an address\r\n* [Practitioner](practitioner.html): A city specified in\
          \ an address\r\n* [RelatedPerson](relatedperson.html): A city specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: email
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A value\
          \ in an email contact\r\n* [Person](person.html): A value in an email contact\r\
          \n* [Practitioner](practitioner.html): A value in an email contact\r\n*\
          \ [PractitionerRole](practitionerrole.html): A value in an email contact\r\
          \n* [RelatedPerson](relatedperson.html): A value in an email contact"
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: A practitioner's Identifier
        required: false
        schema:
          type: string
      - name: given
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion\
          \ of the given name of the patient\r\n* [Practitioner](practitioner.html):\
          \ A portion of the given name"
        required: false
        schema:
          type: string
      - name: address
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A server\
          \ defined search that may match any of the string fields in the Address,\
          \ including line, city, district, state, country, postalCode, and/or text\r\
          \n* [Person](person.html): A server defined search that may match any of\
          \ the string fields in the Address, including line, city, district, state,\
          \ country, postalCode, and/or text\r\n* [Practitioner](practitioner.html):\
          \ A server defined search that may match any of the string fields in the\
          \ Address, including line, city, district, state, country, postalCode, and/or\
          \ text\r\n* [RelatedPerson](relatedperson.html): A server defined search\
          \ that may match any of the string fields in the Address, including line,\
          \ city, district, state, country, postalCode, and/or text"
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: active
        in: query
        description: Whether the practitioner record is active
        required: false
        schema:
          type: string
      - name: address-postalcode
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A postalCode\
          \ specified in an address\r\n* [Person](person.html): A postal code specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A postalCode specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A postal code\
          \ specified in an address"
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: phone
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A value\
          \ in a phone contact\r\n* [Person](person.html): A value in a phone contact\r\
          \n* [Practitioner](practitioner.html): A value in a phone contact\r\n* [PractitionerRole](practitionerrole.html):\
          \ A value in a phone contact\r\n* [RelatedPerson](relatedperson.html): A\
          \ value in a phone contact"
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: address-use
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A use\
          \ code specified in an address\r\n* [Person](person.html): A use code specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A use code specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A use code specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: name
        in: query
        description: "A server defined search that may match any of the string fields\
          \ in the HumanName, including family, give, prefix, suffix, suffix, and/or\
          \ text"
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: family
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion\
          \ of the family name of the patient\r\n* [Practitioner](practitioner.html):\
          \ A portion of the family name"
        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"
  /{partition_name}/PractitionerRole/{id}:
    get:
      tags:
      - PractitionerRole
      summary: "read-instance: Read PractitionerRole instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/PractitionerRole:
    get:
      tags:
      - PractitionerRole
      summary: "search-type: Search for PractitionerRole instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: The period during which the practitioner is authorized to perform
          in these role(s)
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: identifier
        in: query
        description: A practitioner's Identifier
        required: false
        schema:
          type: string
      - name: specialty
        in: query
        description: The practitioner has this specialty at an organization
        required: false
        schema:
          type: string
      - name: role
        in: query
        description: The practitioner can perform this role at for the organization
        required: false
        schema:
          type: string
      - name: practitioner
        in: query
        description: Practitioner that is able to provide the defined services for
          the organization
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: active
        in: query
        description: Whether this practitioner role record is in active use
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: endpoint
        in: query
        description: Technical endpoints providing access to services operated for
          the practitioner with this role
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: phone
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A value\
          \ in a phone contact\r\n* [Person](person.html): A value in a phone contact\r\
          \n* [Practitioner](practitioner.html): A value in a phone contact\r\n* [PractitionerRole](practitionerrole.html):\
          \ A value in a phone contact\r\n* [RelatedPerson](relatedperson.html): A\
          \ value in a phone contact"
        required: false
        schema:
          type: string
      - name: service
        in: query
        description: The list of healthcare services that this worker provides for
          this role's Organization/Location(s)
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: organization
        in: query
        description: The identity of the organization the practitioner represents
          / acts on behalf of
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: telecom
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): The value\
          \ in any kind of telecom details of the patient\r\n* [Person](person.html):\
          \ The value in any kind of contact\r\n* [Practitioner](practitioner.html):\
          \ The value in any kind of contact\r\n* [PractitionerRole](practitionerrole.html):\
          \ The value in any kind of contact\r\n* [RelatedPerson](relatedperson.html):\
          \ The value in any kind of contact"
        required: false
        schema:
          type: string
      - name: location
        in: query
        description: One of the locations at which this practitioner provides care
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: email
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A value\
          \ in an email contact\r\n* [Person](person.html): A value in an email contact\r\
          \n* [Practitioner](practitioner.html): A value in an email contact\r\n*\
          \ [PractitionerRole](practitionerrole.html): A value in an email contact\r\
          \n* [RelatedPerson](relatedperson.html): A value in an email contact"
        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"
  /{partition_name}/PractitionerRole/_search:
    get:
      tags:
      - PractitionerRole
      summary: "search-type: Search for PractitionerRole instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: The period during which the practitioner is authorized to perform
          in these role(s)
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: identifier
        in: query
        description: A practitioner's Identifier
        required: false
        schema:
          type: string
      - name: specialty
        in: query
        description: The practitioner has this specialty at an organization
        required: false
        schema:
          type: string
      - name: role
        in: query
        description: The practitioner can perform this role at for the organization
        required: false
        schema:
          type: string
      - name: practitioner
        in: query
        description: Practitioner that is able to provide the defined services for
          the organization
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: active
        in: query
        description: Whether this practitioner role record is in active use
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: endpoint
        in: query
        description: Technical endpoints providing access to services operated for
          the practitioner with this role
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: phone
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A value\
          \ in a phone contact\r\n* [Person](person.html): A value in a phone contact\r\
          \n* [Practitioner](practitioner.html): A value in a phone contact\r\n* [PractitionerRole](practitionerrole.html):\
          \ A value in a phone contact\r\n* [RelatedPerson](relatedperson.html): A\
          \ value in a phone contact"
        required: false
        schema:
          type: string
      - name: service
        in: query
        description: The list of healthcare services that this worker provides for
          this role's Organization/Location(s)
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: organization
        in: query
        description: The identity of the organization the practitioner represents
          / acts on behalf of
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: telecom
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): The value\
          \ in any kind of telecom details of the patient\r\n* [Person](person.html):\
          \ The value in any kind of contact\r\n* [Practitioner](practitioner.html):\
          \ The value in any kind of contact\r\n* [PractitionerRole](practitionerrole.html):\
          \ The value in any kind of contact\r\n* [RelatedPerson](relatedperson.html):\
          \ The value in any kind of contact"
        required: false
        schema:
          type: string
      - name: location
        in: query
        description: One of the locations at which this practitioner provides care
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: email
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A value\
          \ in an email contact\r\n* [Person](person.html): A value in an email contact\r\
          \n* [Practitioner](practitioner.html): A value in an email contact\r\n*\
          \ [PractitionerRole](practitionerrole.html): A value in an email contact\r\
          \n* [RelatedPerson](relatedperson.html): A value in an email contact"
        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"
  /{partition_name}/Procedure/{id}:
    get:
      tags:
      - Procedure
      summary: "read-instance: Read Procedure instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/Procedure:
    get:
      tags:
      - Procedure
      summary: "search-type: Search for Procedure instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html):\
          \ Time period plan covers\r\n* [CareTeam](careteam.html): Time period team\
          \ covers\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment\
          \ was documented\r\n* [Composition](composition.html): Composition editing\
          \ time\r\n* [Consent](consent.html): When this Consent was created or indexed\r\
          \n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time\
          \ of the report\r\n* [Encounter](encounter.html): A date within the period\
          \ the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided\
          \ date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ When history was recorded or last updated\r\n* [Flag](flag.html): Time\
          \ period when flag is active\r\n* [Immunization](immunization.html): Vaccination\
          \  (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\
          \n* [Observation](observation.html): Obtained date/time. If the obtained\
          \ element is a period, a date that falls in the period\r\n* [Procedure](procedure.html):\
          \ When the procedure was performed\r\n* [RiskAssessment](riskassessment.html):\
          \ When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When\
          \ the request was made"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: performer
        in: query
        description: The reference to the practitioner
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: Search by subject
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: instantiates-canonical
        in: query
        description: Instantiates FHIR protocol or definition
        required: false
        schema:
          type: string
      - name: part-of
        in: query
        description: Part of referenced event
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: "Multiple Resources: \r\n\r\n* [Composition](composition.html):\
          \ Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter\
          \ during which request was created\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The Encounter when the order was made\r\n* [DocumentReference](documentreference.html):\
          \ Context of the document  content\r\n* [Flag](flag.html): Alert relevant\
          \ during encounter\r\n* [List](list.html): Context in which list created\r\
          \n* [NutritionOrder](nutritionorder.html): Return nutrition orders with\
          \ this encounter identifier\r\n* [Observation](observation.html): Encounter\
          \ related to the observation\r\n* [Procedure](procedure.html): Encounter\
          \ created as part of\r\n* [RiskAssessment](riskassessment.html): Where was\
          \ assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter\
          \ in which this request is made\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this encounter identifier"
        required: false
        schema:
          type: string
      - name: reason-code
        in: query
        description: Coded reason procedure performed
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: based-on
        in: query
        description: A request for this procedure
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - 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
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: reason-reference
        in: query
        description: The justification that the procedure was performed
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: location
        in: query
        description: Where the procedure happened
        required: false
        schema:
          type: string
      - name: instantiates-uri
        in: query
        description: Instantiates external protocol or definition
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: Classification of the procedure
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: preparation | in-progress | not-done | on-hold | stopped | completed
          | entered-in-error | unknown
        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"
  /{partition_name}/Procedure/_search:
    get:
      tags:
      - Procedure
      summary: "search-type: Search for Procedure instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: date
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html):\
          \ Time period plan covers\r\n* [CareTeam](careteam.html): Time period team\
          \ covers\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment\
          \ was documented\r\n* [Composition](composition.html): Composition editing\
          \ time\r\n* [Consent](consent.html): When this Consent was created or indexed\r\
          \n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time\
          \ of the report\r\n* [Encounter](encounter.html): A date within the period\
          \ the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided\
          \ date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ When history was recorded or last updated\r\n* [Flag](flag.html): Time\
          \ period when flag is active\r\n* [Immunization](immunization.html): Vaccination\
          \  (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\
          \n* [Observation](observation.html): Obtained date/time. If the obtained\
          \ element is a period, a date that falls in the period\r\n* [Procedure](procedure.html):\
          \ When the procedure was performed\r\n* [RiskAssessment](riskassessment.html):\
          \ When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When\
          \ the request was made"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: performer
        in: query
        description: The reference to the practitioner
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: Search by subject
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: instantiates-canonical
        in: query
        description: Instantiates FHIR protocol or definition
        required: false
        schema:
          type: string
      - name: part-of
        in: query
        description: Part of referenced event
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: "Multiple Resources: \r\n\r\n* [Composition](composition.html):\
          \ Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter\
          \ during which request was created\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The Encounter when the order was made\r\n* [DocumentReference](documentreference.html):\
          \ Context of the document  content\r\n* [Flag](flag.html): Alert relevant\
          \ during encounter\r\n* [List](list.html): Context in which list created\r\
          \n* [NutritionOrder](nutritionorder.html): Return nutrition orders with\
          \ this encounter identifier\r\n* [Observation](observation.html): Encounter\
          \ related to the observation\r\n* [Procedure](procedure.html): Encounter\
          \ created as part of\r\n* [RiskAssessment](riskassessment.html): Where was\
          \ assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter\
          \ in which this request is made\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this encounter identifier"
        required: false
        schema:
          type: string
      - name: reason-code
        in: query
        description: Coded reason procedure performed
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: based-on
        in: query
        description: A request for this procedure
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - 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
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: reason-reference
        in: query
        description: The justification that the procedure was performed
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: location
        in: query
        description: Where the procedure happened
        required: false
        schema:
          type: string
      - name: instantiates-uri
        in: query
        description: Instantiates external protocol or definition
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: Classification of the procedure
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: preparation | in-progress | not-done | on-hold | stopped | completed
          | entered-in-error | unknown
        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"
  /{partition_name}/Provenance/{id}:
    get:
      tags:
      - Provenance
      summary: "read-instance: Read Provenance instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/Provenance:
    get:
      tags:
      - Provenance
      summary: "search-type: Search for Provenance instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: agent-type
        in: query
        description: How the agent participated
        required: false
        schema:
          type: string
      - name: signature-type
        in: query
        description: Indication of the reason the entity signed the object(s)
        required: false
        schema:
          type: string
      - name: agent
        in: query
        description: Who participated
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: recorded
        in: query
        description: When the activity was recorded / updated
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: when
        in: query
        description: When the activity occurred
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: target
        in: query
        description: Target Reference(s) (usually version specific)
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: patient
        in: query
        description: Target Reference(s) (usually version specific)
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: location
        in: query
        description: "Where the activity occurred, if relevant"
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: agent-role
        in: query
        description: What the agents role was
        required: false
        schema:
          type: string
      - name: entity
        in: query
        description: Identity of entity
        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"
  /{partition_name}/Provenance/_search:
    get:
      tags:
      - Provenance
      summary: "search-type: Search for Provenance instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: agent-type
        in: query
        description: How the agent participated
        required: false
        schema:
          type: string
      - name: signature-type
        in: query
        description: Indication of the reason the entity signed the object(s)
        required: false
        schema:
          type: string
      - name: agent
        in: query
        description: Who participated
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: recorded
        in: query
        description: When the activity was recorded / updated
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: when
        in: query
        description: When the activity occurred
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: target
        in: query
        description: Target Reference(s) (usually version specific)
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: patient
        in: query
        description: Target Reference(s) (usually version specific)
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: location
        in: query
        description: "Where the activity occurred, if relevant"
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: agent-role
        in: query
        description: What the agents role was
        required: false
        schema:
          type: string
      - name: entity
        in: query
        description: Identity of entity
        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"
  /{partition_name}/QuestionnaireResponse/{id}:
    get:
      tags:
      - QuestionnaireResponse
      summary: "read-instance: Read QuestionnaireResponse instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/QuestionnaireResponse:
    get:
      tags:
      - QuestionnaireResponse
      summary: "search-type: Search for QuestionnaireResponse instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: authored
        in: query
        description: When the questionnaire response was last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: identifier
        in: query
        description: The unique identifier for the questionnaire response
        required: false
        schema:
          type: string
      - name: questionnaire
        in: query
        description: The questionnaire the answers are provided for
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: The subject of the questionnaire response
        required: false
        schema:
          type: string
      - name: author
        in: query
        description: The author of the questionnaire response
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: part-of
        in: query
        description: Procedure or observation this questionnaire response was performed
          as a part of
        required: false
        schema:
          type: string
      - name: source
        in: query
        description: The individual providing the information reflected in the questionnaire
          respose
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: Encounter associated with the questionnaire response
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: based-on
        in: query
        description: Plan/proposal/order fulfilled by this questionnaire response
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: patient
        in: query
        description: The patient that is the subject of the questionnaire response
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: The status of the questionnaire response
        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"
  /{partition_name}/QuestionnaireResponse/_search:
    get:
      tags:
      - QuestionnaireResponse
      summary: "search-type: Search for QuestionnaireResponse instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: authored
        in: query
        description: When the questionnaire response was last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: identifier
        in: query
        description: The unique identifier for the questionnaire response
        required: false
        schema:
          type: string
      - name: questionnaire
        in: query
        description: The questionnaire the answers are provided for
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: The subject of the questionnaire response
        required: false
        schema:
          type: string
      - name: author
        in: query
        description: The author of the questionnaire response
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: part-of
        in: query
        description: Procedure or observation this questionnaire response was performed
          as a part of
        required: false
        schema:
          type: string
      - name: source
        in: query
        description: The individual providing the information reflected in the questionnaire
          respose
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: Encounter associated with the questionnaire response
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: based-on
        in: query
        description: Plan/proposal/order fulfilled by this questionnaire response
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: patient
        in: query
        description: The patient that is the subject of the questionnaire response
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: The status of the questionnaire response
        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"
  /{partition_name}/RelatedPerson/{id}:
    get:
      tags:
      - RelatedPerson
      summary: "read-instance: Read RelatedPerson instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/RelatedPerson:
    get:
      tags:
      - RelatedPerson
      summary: "search-type: Search for RelatedPerson instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: birthdate
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): The patient's\
          \ date of birth\r\n* [Person](person.html): The person's date of birth\r\
          \n* [RelatedPerson](relatedperson.html): The Related Person's date of birth"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: address-state
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A state\
          \ specified in an address\r\n* [Person](person.html): A state specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A state specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A state specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: gender
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): Gender\
          \ of the patient\r\n* [Person](person.html): The gender of the person\r\n\
          * [Practitioner](practitioner.html): Gender of the practitioner\r\n* [RelatedPerson](relatedperson.html):\
          \ Gender of the related person"
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: address-country
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A country\
          \ specified in an address\r\n* [Person](person.html): A country specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A country specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A country specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: phonetic
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion\
          \ of either family or given name using some kind of phonetic matching algorithm\r\
          \n* [Person](person.html): A portion of name using some kind of phonetic\
          \ matching algorithm\r\n* [Practitioner](practitioner.html): A portion of\
          \ either family or given name using some kind of phonetic matching algorithm\r\
          \n* [RelatedPerson](relatedperson.html): A portion of name using some kind\
          \ of phonetic matching algorithm"
        required: false
        schema:
          type: string
      - name: patient
        in: query
        description: The patient this related person is related to
        required: false
        schema:
          type: string
      - name: telecom
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): The value\
          \ in any kind of telecom details of the patient\r\n* [Person](person.html):\
          \ The value in any kind of contact\r\n* [Practitioner](practitioner.html):\
          \ The value in any kind of contact\r\n* [PractitionerRole](practitionerrole.html):\
          \ The value in any kind of contact\r\n* [RelatedPerson](relatedperson.html):\
          \ The value in any kind of contact"
        required: false
        schema:
          type: string
      - name: relationship
        in: query
        description: The relationship between the patient and the relatedperson
        required: false
        schema:
          type: string
      - name: address-city
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A city\
          \ specified in an address\r\n* [Person](person.html): A city specified in\
          \ an address\r\n* [Practitioner](practitioner.html): A city specified in\
          \ an address\r\n* [RelatedPerson](relatedperson.html): A city specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: email
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A value\
          \ in an email contact\r\n* [Person](person.html): A value in an email contact\r\
          \n* [Practitioner](practitioner.html): A value in an email contact\r\n*\
          \ [PractitionerRole](practitionerrole.html): A value in an email contact\r\
          \n* [RelatedPerson](relatedperson.html): A value in an email contact"
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: An Identifier of the RelatedPerson
        required: false
        schema:
          type: string
      - name: address
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A server\
          \ defined search that may match any of the string fields in the Address,\
          \ including line, city, district, state, country, postalCode, and/or text\r\
          \n* [Person](person.html): A server defined search that may match any of\
          \ the string fields in the Address, including line, city, district, state,\
          \ country, postalCode, and/or text\r\n* [Practitioner](practitioner.html):\
          \ A server defined search that may match any of the string fields in the\
          \ Address, including line, city, district, state, country, postalCode, and/or\
          \ text\r\n* [RelatedPerson](relatedperson.html): A server defined search\
          \ that may match any of the string fields in the Address, including line,\
          \ city, district, state, country, postalCode, and/or text"
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: active
        in: query
        description: Indicates if the related person record is active
        required: false
        schema:
          type: string
      - name: address-postalcode
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A postalCode\
          \ specified in an address\r\n* [Person](person.html): A postal code specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A postalCode specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A postal code\
          \ specified in an address"
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: phone
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A value\
          \ in a phone contact\r\n* [Person](person.html): A value in a phone contact\r\
          \n* [Practitioner](practitioner.html): A value in a phone contact\r\n* [PractitionerRole](practitionerrole.html):\
          \ A value in a phone contact\r\n* [RelatedPerson](relatedperson.html): A\
          \ value in a phone contact"
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: address-use
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A use\
          \ code specified in an address\r\n* [Person](person.html): A use code specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A use code specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A use code specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: name
        in: query
        description: "A server defined search that may match any of the string fields\
          \ in the HumanName, including family, give, prefix, suffix, suffix, and/or\
          \ text"
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        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"
  /{partition_name}/RelatedPerson/_search:
    get:
      tags:
      - RelatedPerson
      summary: "search-type: Search for RelatedPerson instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: birthdate
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): The patient's\
          \ date of birth\r\n* [Person](person.html): The person's date of birth\r\
          \n* [RelatedPerson](relatedperson.html): The Related Person's date of birth"
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: address-state
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A state\
          \ specified in an address\r\n* [Person](person.html): A state specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A state specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A state specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: gender
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): Gender\
          \ of the patient\r\n* [Person](person.html): The gender of the person\r\n\
          * [Practitioner](practitioner.html): Gender of the practitioner\r\n* [RelatedPerson](relatedperson.html):\
          \ Gender of the related person"
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: address-country
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A country\
          \ specified in an address\r\n* [Person](person.html): A country specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A country specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A country specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: phonetic
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A portion\
          \ of either family or given name using some kind of phonetic matching algorithm\r\
          \n* [Person](person.html): A portion of name using some kind of phonetic\
          \ matching algorithm\r\n* [Practitioner](practitioner.html): A portion of\
          \ either family or given name using some kind of phonetic matching algorithm\r\
          \n* [RelatedPerson](relatedperson.html): A portion of name using some kind\
          \ of phonetic matching algorithm"
        required: false
        schema:
          type: string
      - name: patient
        in: query
        description: The patient this related person is related to
        required: false
        schema:
          type: string
      - name: telecom
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): The value\
          \ in any kind of telecom details of the patient\r\n* [Person](person.html):\
          \ The value in any kind of contact\r\n* [Practitioner](practitioner.html):\
          \ The value in any kind of contact\r\n* [PractitionerRole](practitionerrole.html):\
          \ The value in any kind of contact\r\n* [RelatedPerson](relatedperson.html):\
          \ The value in any kind of contact"
        required: false
        schema:
          type: string
      - name: relationship
        in: query
        description: The relationship between the patient and the relatedperson
        required: false
        schema:
          type: string
      - name: address-city
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A city\
          \ specified in an address\r\n* [Person](person.html): A city specified in\
          \ an address\r\n* [Practitioner](practitioner.html): A city specified in\
          \ an address\r\n* [RelatedPerson](relatedperson.html): A city specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: email
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A value\
          \ in an email contact\r\n* [Person](person.html): A value in an email contact\r\
          \n* [Practitioner](practitioner.html): A value in an email contact\r\n*\
          \ [PractitionerRole](practitionerrole.html): A value in an email contact\r\
          \n* [RelatedPerson](relatedperson.html): A value in an email contact"
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: An Identifier of the RelatedPerson
        required: false
        schema:
          type: string
      - name: address
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A server\
          \ defined search that may match any of the string fields in the Address,\
          \ including line, city, district, state, country, postalCode, and/or text\r\
          \n* [Person](person.html): A server defined search that may match any of\
          \ the string fields in the Address, including line, city, district, state,\
          \ country, postalCode, and/or text\r\n* [Practitioner](practitioner.html):\
          \ A server defined search that may match any of the string fields in the\
          \ Address, including line, city, district, state, country, postalCode, and/or\
          \ text\r\n* [RelatedPerson](relatedperson.html): A server defined search\
          \ that may match any of the string fields in the Address, including line,\
          \ city, district, state, country, postalCode, and/or text"
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: active
        in: query
        description: Indicates if the related person record is active
        required: false
        schema:
          type: string
      - name: address-postalcode
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A postalCode\
          \ specified in an address\r\n* [Person](person.html): A postal code specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A postalCode specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A postal code\
          \ specified in an address"
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: phone
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A value\
          \ in a phone contact\r\n* [Person](person.html): A value in a phone contact\r\
          \n* [Practitioner](practitioner.html): A value in a phone contact\r\n* [PractitionerRole](practitionerrole.html):\
          \ A value in a phone contact\r\n* [RelatedPerson](relatedperson.html): A\
          \ value in a phone contact"
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: address-use
        in: query
        description: "Multiple Resources: \r\n\r\n* [Patient](patient.html): A use\
          \ code specified in an address\r\n* [Person](person.html): A use code specified\
          \ in an address\r\n* [Practitioner](practitioner.html): A use code specified\
          \ in an address\r\n* [RelatedPerson](relatedperson.html): A use code specified\
          \ in an address"
        required: false
        schema:
          type: string
      - name: name
        in: query
        description: "A server defined search that may match any of the string fields\
          \ in the HumanName, including family, give, prefix, suffix, suffix, and/or\
          \ text"
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        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"
  /{partition_name}/ServiceRequest/{id}:
    get:
      tags:
      - ServiceRequest
      summary: "read-instance: Read ServiceRequest instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/ServiceRequest:
    get:
      tags:
      - ServiceRequest
      summary: "search-type: Search for ServiceRequest instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: authored
        in: query
        description: Date request signed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: requisition
        in: query
        description: Composite Request ID
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: Search by subject
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: occurrence
        in: query
        description: When service should occur
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: based-on
        in: query
        description: What request fulfills
        required: false
        schema:
          type: string
      - 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
      - name: specimen
        in: query
        description: Specimen to be tested
        required: false
        schema:
          type: string
      - name: instantiates-uri
        in: query
        description: Instantiates external protocol or definition
        required: false
        schema:
          type: string
      - name: requester
        in: query
        description: Who/what is requesting service
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: performer
        in: query
        description: Requested performer
        required: false
        schema:
          type: string
      - name: replaces
        in: query
        description: What request replaces
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: instantiates-canonical
        in: query
        description: Instantiates FHIR protocol or definition
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: "Multiple Resources: \r\n\r\n* [Composition](composition.html):\
          \ Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter\
          \ during which request was created\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The Encounter when the order was made\r\n* [DocumentReference](documentreference.html):\
          \ Context of the document  content\r\n* [Flag](flag.html): Alert relevant\
          \ during encounter\r\n* [List](list.html): Context in which list created\r\
          \n* [NutritionOrder](nutritionorder.html): Return nutrition orders with\
          \ this encounter identifier\r\n* [Observation](observation.html): Encounter\
          \ related to the observation\r\n* [Procedure](procedure.html): Encounter\
          \ created as part of\r\n* [RiskAssessment](riskassessment.html): Where was\
          \ assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter\
          \ in which this request is made\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this encounter identifier"
        required: false
        schema:
          type: string
      - name: priority
        in: query
        description: routine | urgent | asap | stat
        required: false
        schema:
          type: string
      - name: performer-type
        in: query
        description: Performer role
        required: false
        schema:
          type: string
      - name: intent
        in: query
        description: proposal | plan | directive | order | original-order | reflex-order
          | filler-order | instance-order | option
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: Classification of service
        required: false
        schema:
          type: string
      - name: body-site
        in: query
        description: Where procedure is going to be done
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: draft | active | on-hold | revoked | completed | entered-in-error
          | unknown
        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"
  /{partition_name}/ServiceRequest/_search:
    get:
      tags:
      - ServiceRequest
      summary: "search-type: Search for ServiceRequest instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: authored
        in: query
        description: Date request signed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: code
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ Code that identifies the allergy or intolerance\r\n* [Condition](condition.html):\
          \ Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code\
          \ for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The code for the report, as opposed to codes for the atomic results, which\
          \ are the names on the observation resource referred to from the result\r\
          \n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition\
          \ code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html):\
          \ Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions of this medication code\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements of this medication code\r\n* [Observation](observation.html):\
          \ The code of the observation type\r\n* [Procedure](procedure.html): A code\
          \ to identify a  procedure\r\n* [ServiceRequest](servicerequest.html): What\
          \ is being requested/ordered"
        required: false
        schema:
          type: string
      - name: requisition
        in: query
        description: Composite Request ID
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: Search by subject
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: occurrence
        in: query
        description: When service should occur
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: based-on
        in: query
        description: What request fulfills
        required: false
        schema:
          type: string
      - 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
      - name: specimen
        in: query
        description: Specimen to be tested
        required: false
        schema:
          type: string
      - name: instantiates-uri
        in: query
        description: Instantiates external protocol or definition
        required: false
        schema:
          type: string
      - name: requester
        in: query
        description: Who/what is requesting service
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: "Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html):\
          \ External ids for this item\r\n* [CarePlan](careplan.html): External Ids\
          \ for this plan\r\n* [CareTeam](careteam.html): External Ids for this team\r\
          \n* [Composition](composition.html): Version-independent identifier for\
          \ the Composition\r\n* [Condition](condition.html): A unique identifier\
          \ of the condition record\r\n* [Consent](consent.html): Identifier for this\
          \ record (external references)\r\n* [DetectedIssue](detectedissue.html):\
          \ Unique id for the detected issue\r\n* [DeviceRequest](devicerequest.html):\
          \ Business identifier for request/order\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ An identifier for the report\r\n* [DocumentManifest](documentmanifest.html):\
          \ Unique Identifier for the set of documents\r\n* [DocumentReference](documentreference.html):\
          \ Master Version Specific Identifier\r\n* [Encounter](encounter.html): Identifier(s)\
          \ by which this encounter is known\r\n* [EpisodeOfCare](episodeofcare.html):\
          \ Business Identifier(s) relevant for this EpisodeOfCare\r\n* [FamilyMemberHistory](familymemberhistory.html):\
          \ A search by a record identifier\r\n* [Goal](goal.html): External Ids for\
          \ this goal\r\n* [ImagingStudy](imagingstudy.html): Identifiers for the\
          \ Study, such as DICOM Study Instance UID and Accession number\r\n* [Immunization](immunization.html):\
          \ Business identifier\r\n* [List](list.html): Business identifier\r\n* [MedicationAdministration](medicationadministration.html):\
          \ Return administrations with this external identifier\r\n* [MedicationDispense](medicationdispense.html):\
          \ Returns dispenses with this external identifier\r\n* [MedicationRequest](medicationrequest.html):\
          \ Return prescriptions with this external identifier\r\n* [MedicationStatement](medicationstatement.html):\
          \ Return statements with this external identifier\r\n* [NutritionOrder](nutritionorder.html):\
          \ Return nutrition orders with this external identifier\r\n* [Observation](observation.html):\
          \ The unique id for a particular observation\r\n* [Procedure](procedure.html):\
          \ A unique identifier for a procedure\r\n* [RiskAssessment](riskassessment.html):\
          \ Unique identifier for the assessment\r\n* [ServiceRequest](servicerequest.html):\
          \ Identifiers assigned to this order\r\n* [SupplyDelivery](supplydelivery.html):\
          \ External identifier\r\n* [SupplyRequest](supplyrequest.html): Business\
          \ Identifier for SupplyRequest\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this external identifier"
        required: false
        schema:
          type: string
      - name: performer
        in: query
        description: Requested performer
        required: false
        schema:
          type: string
      - name: replaces
        in: query
        description: What request replaces
        required: false
        schema:
          type: string
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: instantiates-canonical
        in: query
        description: Instantiates FHIR protocol or definition
        required: false
        schema:
          type: string
      - name: encounter
        in: query
        description: "Multiple Resources: \r\n\r\n* [Composition](composition.html):\
          \ Context of the Composition\r\n* [DeviceRequest](devicerequest.html): Encounter\
          \ during which request was created\r\n* [DiagnosticReport](diagnosticreport.html):\
          \ The Encounter when the order was made\r\n* [DocumentReference](documentreference.html):\
          \ Context of the document  content\r\n* [Flag](flag.html): Alert relevant\
          \ during encounter\r\n* [List](list.html): Context in which list created\r\
          \n* [NutritionOrder](nutritionorder.html): Return nutrition orders with\
          \ this encounter identifier\r\n* [Observation](observation.html): Encounter\
          \ related to the observation\r\n* [Procedure](procedure.html): Encounter\
          \ created as part of\r\n* [RiskAssessment](riskassessment.html): Where was\
          \ assessment performed?\r\n* [ServiceRequest](servicerequest.html): An encounter\
          \ in which this request is made\r\n* [VisionPrescription](visionprescription.html):\
          \ Return prescriptions with this encounter identifier"
        required: false
        schema:
          type: string
      - name: priority
        in: query
        description: routine | urgent | asap | stat
        required: false
        schema:
          type: string
      - name: performer-type
        in: query
        description: Performer role
        required: false
        schema:
          type: string
      - name: intent
        in: query
        description: proposal | plan | directive | order | original-order | reflex-order
          | filler-order | instance-order | option
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: category
        in: query
        description: Classification of service
        required: false
        schema:
          type: string
      - name: body-site
        in: query
        description: Where procedure is going to be done
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: draft | active | on-hold | revoked | completed | entered-in-error
          | unknown
        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"
  /{partition_name}/Specimen/{id}:
    get:
      tags:
      - Specimen
      summary: "read-instance: Read Specimen instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/Specimen:
    get:
      tags:
      - Specimen
      summary: "search-type: Search for Specimen instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: container
        in: query
        description: The kind of specimen container
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: The unique identifier associated with the specimen
        required: false
        schema:
          type: string
      - name: container-id
        in: query
        description: The unique identifier associated with the specimen container
        required: false
        schema:
          type: string
      - name: parent
        in: query
        description: The parent of the specimen
        required: false
        schema:
          type: string
      - name: bodysite
        in: query
        description: The code for the body site from where the specimen originated
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: The subject of the specimen
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: collected
        in: query
        description: The date the specimen was collected
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: accession
        in: query
        description: The accession number associated with the specimen
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: The specimen type
        required: false
        schema:
          type: string
      - name: collector
        in: query
        description: Who collected the specimen
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: patient
        in: query
        description: The patient the specimen comes from
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: available | unavailable | unsatisfactory | 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"
  /{partition_name}/Specimen/_search:
    get:
      tags:
      - Specimen
      summary: "search-type: Search for Specimen instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: container
        in: query
        description: The kind of specimen container
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: The unique identifier associated with the specimen
        required: false
        schema:
          type: string
      - name: container-id
        in: query
        description: The unique identifier associated with the specimen container
        required: false
        schema:
          type: string
      - name: parent
        in: query
        description: The parent of the specimen
        required: false
        schema:
          type: string
      - name: bodysite
        in: query
        description: The code for the body site from where the specimen originated
        required: false
        schema:
          type: string
      - name: subject
        in: query
        description: The subject of the specimen
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: collected
        in: query
        description: The date the specimen was collected
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: accession
        in: query
        description: The accession number associated with the specimen
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: The specimen type
        required: false
        schema:
          type: string
      - name: collector
        in: query
        description: Who collected the specimen
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: patient
        in: query
        description: The patient the specimen comes from
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: status
        in: query
        description: available | unavailable | unsatisfactory | 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"
  /{partition_name}/Group/{id}:
    get:
      tags:
      - Group
      summary: "read-instance: Read Group instance"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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"
  /{partition_name}/Group:
    get:
      tags:
      - Group
      summary: "search-type: Search for Group instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: actual
        in: query
        description: Descriptive or actual
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: Unique id
        required: false
        schema:
          type: string
      - name: managing-entity
        in: query
        description: Entity that is the custodian of the Group's definition
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: The kind of resources contained
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: The type of resources the group contains
        required: false
        schema:
          type: string
      - name: characteristic
        in: query
        description: Kind of characteristic
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: member
        in: query
        description: Reference to the group member
        required: false
        schema:
          type: string
      - name: exclude
        in: query
        description: Group includes or excludes
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: value
        in: query
        description: Value held by characteristic
        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"
  /{partition_name}/Group/_search:
    get:
      tags:
      - Group
      summary: "search-type: Search for Group instances"
      description: This is a search type
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: actual
        in: query
        description: Descriptive or actual
        required: false
        schema:
          type: string
      - name: identifier
        in: query
        description: Unique id
        required: false
        schema:
          type: string
      - name: managing-entity
        in: query
        description: Entity that is the custodian of the Group's definition
        required: false
        schema:
          type: string
      - name: code
        in: query
        description: The kind of resources contained
        required: false
        schema:
          type: string
      - name: _lastUpdated
        in: query
        description: When the resource version last changed
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: string
            format: date
      - name: _security
        in: query
        description: Security Labels applied to this resource
        required: false
        schema:
          type: string
      - name: type
        in: query
        description: The type of resources the group contains
        required: false
        schema:
          type: string
      - name: characteristic
        in: query
        description: Kind of characteristic
        required: false
        schema:
          type: string
      - name: _list
        in: query
        description: Search the contents of the resource's data using a list
        required: false
        schema:
          type: string
      - name: _profile
        in: query
        description: Profiles this resource claims to conform to
        required: false
        schema:
          type: string
      - name: _tag
        in: query
        description: Tags applied to this resource
        required: false
        schema:
          type: string
      - name: _has
        in: query
        description: Return resources linked to by the given target
        required: false
        schema:
          type: string
      - name: member
        in: query
        description: Reference to the group member
        required: false
        schema:
          type: string
      - name: exclude
        in: query
        description: Group includes or excludes
        required: false
        schema:
          type: string
      - name: _source
        in: query
        description: Identifies where the resource comes from
        required: false
        schema:
          type: string
      - name: _id
        in: query
        description: Logical id of this artifact
        required: false
        schema:
          type: string
      - name: value
        in: query
        description: Value held by characteristic
        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"
  /{partition_name}/Group/$export:
    get:
      tags:
      - Group
      summary: "GET: /Group/$export"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: _outputFormat
        in: query
        required: false
        schema:
          type: string
      - name: _type
        in: query
        required: false
        schema:
          type: string
      - name: _since
        in: query
        required: false
        schema:
          type: string
      - name: _until
        in: query
        required: false
        schema:
          type: string
      - name: _typeFilter
        in: query
        required: false
        schema:
          type: string
      - name: _typePostFetchFilterUrl
        in: query
        required: false
        schema:
          type: string
      - name: _exportId
        in: query
        required: false
        schema:
          type: string
      - name: _includeHistory
        in: query
        required: false
        schema:
          type: string
      - name: _mdm
        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:
      - Group
      summary: "POST: /Group/$export"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      requestBody:
        content:
          application/fhir+json:
            schema:
              title: FHIR Resource
              type: object
            example: |-
              {
                "resourceType": "Parameters",
                "parameter": [ {
                  "name": "_outputFormat",
                  "valueString": "example"
                }, {
                  "name": "_type",
                  "valueString": "example"
                }, {
                  "name": "_since"
                }, {
                  "name": "_until"
                }, {
                  "name": "_typeFilter",
                  "valueString": "example"
                }, {
                  "name": "_typePostFetchFilterUrl",
                  "valueString": "example"
                }, {
                  "name": "_exportId",
                  "valueString": "example"
                }, {
                  "name": "_includeHistory",
                  "valueBoolean": false
                }, {
                  "name": "_mdm",
                  "valueBoolean": false
                }, {
                  "name": "patient"
                } ]
              }
      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"
  /{partition_name}/Group/{id}/$export:
    get:
      tags:
      - Group
      summary: "GET: /Group/{id}/$export"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - name: id
        in: path
        description: The resource ID
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: "123"
      - name: _outputFormat
        in: query
        required: false
        schema:
          type: string
      - name: _type
        in: query
        required: false
        schema:
          type: string
      - name: _since
        in: query
        required: false
        schema:
          type: string
      - name: _until
        in: query
        required: false
        schema:
          type: string
      - name: _typeFilter
        in: query
        required: false
        schema:
          type: string
      - name: _typePostFetchFilterUrl
        in: query
        required: false
        schema:
          type: string
      - name: _exportId
        in: query
        required: false
        schema:
          type: string
      - name: _includeHistory
        in: query
        required: false
        schema:
          type: string
      - name: _mdm
        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:
      - Group
      summary: "POST: /Group/{id}/$export"
      parameters:
      - name: partition_name
        in: path
        description: The name of the partition to target
        required: true
        style: simple
        schema:
          minimum: 1
          type: string
        example: DEFAULT
      - 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": "_outputFormat",
                  "valueString": "example"
                }, {
                  "name": "_type",
                  "valueString": "example"
                }, {
                  "name": "_since"
                }, {
                  "name": "_until"
                }, {
                  "name": "_typeFilter",
                  "valueString": "example"
                }, {
                  "name": "_typePostFetchFilterUrl",
                  "valueString": "example"
                }, {
                  "name": "_exportId",
                  "valueString": "example"
                }, {
                  "name": "_includeHistory",
                  "valueBoolean": false
                }, {
                  "name": "_mdm",
                  "valueBoolean": false
                }, {
                  "name": "patient"
                } ]
              }
      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://fhir.qualifacts.org/insync/.well-known/smart-configuration
