<?xml version="1.0" encoding="utf-8"?><CapabilityStatement xmlns="http://hl7.org/fhir"><url value="https://emrfhirpresentation.aarista.com/fhir/aarista/basepractice/r4/CapabilityStatement" /><name value="Aarista FHIR Server Capability Statement" /><title value="Dynamic FHIR Capbility Statement" /><status value="active" /><experimental value="false" /><date value="2018-05-04" /><publisher value="DHIT" /><contact><name value="AARISTA" /></contact><description value="This resource provides the conformance statement for the FHIR Server" /><purpose value="To detail out the FHIR Specification/Conformance and guidelines for Implementers" /><copyright value="Copyright 2018" /><kind value="capability" /><software><name value="Aarista FHIR Server" /><version value="1.0.0.0" /><releaseDate value="2018-05-01" /></software><fhirVersion value="4.0.1" /><format value="json" /><format value="xml" /><rest><mode value="server" /><documentation value="Some Rest documentation" /><security><extension url="http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"><extension url="token"><valueUri value="https://emrfhiridentity.aarista.com/core/connect/token" /></extension><extension url="authorize"><valueUri value="https://emrfhiridentity.aarista.com/core/connect/authorize" /></extension><extension url="register"><valueUri value="https://emrfhiridentity.aarista.com/core/permissions" /></extension><extension url="manage"><valueUri value="https://emrfhiridentity.aarista.com/core/permissions" /></extension><extension url="introspect"><valueUri value="https://emrfhiridentity.aarista.com/core/connect/introspect" /></extension><extension url="revoke"><valueUri value="https://emrfhiridentity.aarista.com/core/connect/revocation" /></extension></extension><cors value="true" /><service><coding><system value="http://terminology.hl7.org/CodeSystem/restful-security-service" /><code value="OAuth" /><display value="OAuth" /></coding><text value="OAuth (unspecified version see oauth.net)." /></service><service><coding><system value="http://terminology.hl7.org/CodeSystem/restful-security-service" /><code value="SMART-on-FHIR" /><display value="SMART-on-FHIR" /></coding><text value="OAuth2 using SMART-on-FHIR profile (see http://docs.smarthealthit.org/)." /></service></security><resource><type value="Group" /><operation><name value="group-export" /><definition value="http://hl7.org/fhir/uv/bulkdata/OperationDefinition/group-export" /></operation></resource><resource><type value="AllergyIntolerance" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" /><interaction><code value="read" /></interaction><interaction><code value="search-type" /></interaction><searchRevInclude value="Provenance:target" /><searchParam><name value="patient" /><type value="reference" /><documentation value="The identity of a patient to list allergyIntollerance for. It is a required field." /></searchParam><searchParam><name value="date" /><type value="date" /><documentation value="Time period plan covers. The prefixes 'ge' and 'le' are supported for this parameter. Date may be provided once to imply a date range or twice to specify a range. When two dates are provided they must create a closed range." /></searchParam><searchParam><name value="clinical-status" /><type value="token" /><documentation value="Time period plan covers. The prefixes 'ge' and 'le' are supported for this parameter. Date may be provided once to imply a date range or twice to specify a range. When two dates are provided they must create a closed range." /></searchParam></resource><resource><type value="DocumentReference" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" /><interaction><code value="read" /></interaction><interaction><code value="search-type" /></interaction><searchRevInclude value="Provenance:target" /><searchParam><name value="patient" /><type value="reference" /><documentation value="The identity of a patient to list Document Reference is for. This FHIR Server Supports only Summary purpose CCD Document(C-CDA R2.0) (Loinc Code: 48764-5)" /></searchParam><searchParam><name value="_id" /><type value="string" /><documentation value="The _id search parameter for fetching a single DocumentReference" /></searchParam><searchParam><name value="category" /><type value="token" /><documentation value="Fetches a bundle of all DocumentReference resources for the specified patient and category" /></searchParam><searchParam><name value="status" /><type value="token" /><documentation value="Fetches a bundle of all DocumentReference resources for the specified patient and status." /></searchParam><searchParam><name value="type" /><type value="token" /><documentation value="Fetches a bundle of all DocumentReference resources for the specified patient and type" /></searchParam><searchParam><name value="period" /><type value="date" /><documentation value="Fetches a bundle of all DocumentReference resources for the specified patient and type and period" /></searchParam><searchParam><name value="date" /><type value="date" /><documentation value="Fetches a bundle of all DocumentReference resources for the specified patient and category and date" /></searchParam></resource><resource><type value="CarePlan" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" /><interaction><code value="read" /></interaction><interaction><code value="search-type" /></interaction><searchRevInclude value="Provenance:target" /><searchParam><name value="patient" /><type value="reference" /><documentation value="The identity of a patient to list Care plan for. It is a required field." /></searchParam><searchParam><name value="date" /><type value="date" /><documentation value="Time period plan covers. The prefixes 'ge' and 'le' are supported for this parameter. Date may be provided once to imply a date range or twice to specify a range. When two dates are provided they must create a closed range." /></searchParam><searchParam><name value="category" /><type value="string" /><documentation value="Search by category like careteam, assess-plan" /></searchParam><searchParam><name value="status" /><type value="string" /><documentation value="Search by status of the Care Plan. Eg : draft | active | suspended | completed | entered-in-error | cancelled | unknown" /></searchParam></resource><resource><type value="CareTeam" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" /><interaction><code value="read" /></interaction><interaction><code value="search-type" /></interaction><searchRevInclude value="Provenance:target" /><searchParam><name value="patient" /><type value="reference" /><documentation value="The identity of a patient to list care team for. It is a required field." /></searchParam><searchParam><name value="status" /><type value="string" /><documentation value="Status Types like:  proposed | active | suspended | inactive | entered-in-error" /></searchParam></resource><resource><type value="Device" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" /><interaction><code value="read" /></interaction><interaction><code value="search-type" /></interaction><searchRevInclude value="Provenance:target" /><searchParam><name value="patient" /><type value="reference" /><documentation value="The identity of a patient to list device for. It is a required field." /></searchParam><searchParam><name value="type" /><type value="token" /><documentation value="Type of Imlantable Device" /></searchParam></resource><resource><type value="Binary" /><profile value="http://hl7.org/fhir/StructureDefinition/Binary" /><interaction><code value="read" /></interaction><interaction><code value="search-type" /></interaction><searchRevInclude value="Provenance:target" /><searchParam><name value="patient" /><type value="reference" /><documentation value="The identity of a patient to list Document Reference is for. This FHIR Server Supports only Summary purpose CCD Document(C-CDA R2.0) (Loinc Code: 48764-5)" /></searchParam><searchParam><name value="date" /><type value="date" /><documentation value="Time period plan covers. The prefixes 'ge' and 'le' are supported for this parameter. Date may be provided once to imply a date range or twice to specify a range. When two dates are provided they must create a closed range." /></searchParam></resource><resource><type value="DiagnosticReport" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" /><interaction><code value="read" /></interaction><interaction><code value="search-type" /></interaction><searchRevInclude value="Provenance:target" /><searchParam><name value="patient" /><type value="reference" /><documentation value="The identity of a patient to list DiagnosticReport for. It is a required field." /></searchParam><searchParam><name value="date" /><type value="date" /><documentation value="Time period plan covers. The prefixes 'ge' and 'le' are supported for this parameter. Date may be provided once to imply a date range or twice to specify a range. When two dates are provided they must create a closed range." /></searchParam><searchParam><name value="category" /><type value="string" /><documentation value="Search based on diagnostic report category code = ‘LAB’. This fetches a bundle of all lab related DiagnosticReport resources for the specified patient" /></searchParam><searchParam><name value="code" /><type value="string" /><documentation value="The code for the report as a whole, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result" /></searchParam></resource><resource><type value="Goal" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" /><interaction><code value="read" /></interaction><interaction><code value="search-type" /></interaction><searchRevInclude value="Provenance:target" /><searchParam><name value="patient" /><type value="reference" /><documentation value="The identity of a patient to list goals for. It is a required field." /></searchParam><searchParam><name value="date" /><type value="date" /><documentation value="Time period plan covers. The prefixes 'ge' and 'le' are supported for this parameter. Date may be provided once to imply a date range or twice to specify a range. When two dates are provided they must create a closed range." /></searchParam><searchParam><name value="target-date" /><type value="date" /><documentation value="Reach goal on or before" /></searchParam></resource><resource><type value="Immunization" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" /><interaction><code value="search-type" /></interaction><interaction><code value="read" /></interaction><searchRevInclude value="Provenance:target" /><searchParam><name value="patient" /><type value="reference" /><documentation value="The identity of a patient to list Immunization for. It is a required field." /></searchParam><searchParam><name value="date" /><type value="date" /><documentation value="Time period plan covers. The prefixes 'ge' and 'le' are supported for this parameter. Date may be provided once to imply a date range or twice to specify a range. When two dates are provided they must create a closed range." /></searchParam></resource><resource><type value="MedicationRequest" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" /><interaction><code value="search-type" /></interaction><interaction><code value="read" /></interaction><searchInclude value="MedicationRequest:medication" /><searchRevInclude value="Provenance:target" /><searchParam><name value="patient" /><type value="reference" /><documentation value="The identity of a patient to list MedicationRequest for. It is a required field." /></searchParam><searchParam><name value="code" /><type value="token" /><documentation value="Return statements of this medication code" /></searchParam><searchParam><name value="intent" /><type value="token" /><documentation value="Return statements with this intent - example order" /></searchParam><searchParam><name value="status" /><type value="string" /><documentation value="Return statements that match the given status" /></searchParam><searchParam><name value="date" /><type value="date" /><documentation value="Time period plan covers. The prefixes 'ge' and 'le' are supported for this parameter. Date may be provided once to imply a date range or twice to specify a range. When two dates are provided they must create a closed range." /></searchParam></resource><resource><type value="Location" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" /><interaction><code value="search-type" /></interaction><interaction><code value="read" /></interaction><searchParam><name value="patient" /><type value="reference" /><documentation value="The identity of a patient to list Observation for. It is a required field." /></searchParam><searchParam><name value="date" /><type value="date" /><documentation value="Time period plan covers. The prefixes 'ge' and 'le' are supported for this parameter. Date may be provided once to imply a date range or twice to specify a range. When two dates are provided they must create a closed range." /></searchParam></resource><resource><type value="Organization" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" /><interaction><code value="search-type" /></interaction><interaction><code value="read" /></interaction><searchRevInclude value="Provenance:target" /><searchParam><name value="identifier" /><type value="string" /><documentation value="Any identifier for the organization (not the accreditation issuer's identifier)" /></searchParam><searchParam><name value="name" /><type value="string" /><documentation value="A portion of the organization's name or alias" /></searchParam><searchParam><name value="address" /><type value="string" /><documentation value="A (part of the) address of the organization" /></searchParam><searchParam><name value="address-city" /><type value="string" /><documentation value="A city specified in an address" /></searchParam><searchParam><name value="address-country" /><type value="string" /><documentation value="A country specified in an address" /></searchParam><searchParam><name value="address-state" /><type value="string" /><documentation value="A state specified in an address" /></searchParam><searchParam><name value="address-postalcode" /><type value="string" /><documentation value="A postal code specified in an address" /></searchParam></resource><resource><type value="Patient" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" /><interaction><code value="search-type" /></interaction><interaction><code value="read" /></interaction><searchRevInclude value="Provenance:target" /><searchParam><name value="patient" /><type value="reference" /><documentation value="GET Patient resource by a known Patient Id" /></searchParam><searchParam><name value="_id" /><type value="string" /><documentation value="GET Patient resource by a known Patient _id" /></searchParam><searchParam><name value="identifier" /><type value="string" /><documentation value="GET Patient resource by a known Patient Identifier" /></searchParam><searchParam><name value="name" /><type value="string" /><documentation value="GET Patient resource by knowm Patient name and gender" /></searchParam><searchParam><name value="gender" /><type value="string" /><documentation value="GET Patient resource by knowm Patient name and gender" /></searchParam><searchParam><name value="family" /><type value="string" /><documentation value="GET Patient resource by knowm patient family and gender" /></searchParam><searchParam><name value="given" /><type value="string" /><documentation value="GET Patient resource by knowm patient given and gender" /></searchParam><searchParam><name value="birthdate" /><type value="date" /><documentation value="GET Patient resource by knowm patient name and birthdate" /></searchParam><operation><name value="patient-export" /><definition value="http://hl7.org/fhir/uv/bulkdata/OperationDefinition/patient-export" /></operation></resource><resource><type value="Condition" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" /><interaction><code value="search-type" /></interaction><interaction><code value="read" /></interaction><searchRevInclude value="Provenance:target" /><searchParam><name value="patient" /><type value="reference" /><documentation value="The identity of a patient to list Problem List for. It is a required field." /></searchParam><searchParam><name value="category" /><type value="string" /><documentation value="The category of the condition: Supported Categories:problem,health-concern" /></searchParam><searchParam><name value="clinical-status" /><type value="string" /><documentation value="The clinical status of the condition" /></searchParam><searchParam><name value="date" /><type value="date" /><documentation value="Time period plan covers. The prefixes 'ge' and 'le' are supported for this parameter. Date may be provided once to imply a date range or twice to specify a range. When two dates are provided they must create a closed range." /></searchParam></resource><resource><type value="Procedure" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" /><interaction><code value="search-type" /></interaction><interaction><code value="read" /></interaction><searchRevInclude value="Provenance:target" /><searchParam><name value="patient" /><type value="reference" /><documentation value="The identity of a patient to list procedures performed for. It is a required field." /></searchParam><searchParam><name value="date" /><type value="date" /><documentation value="Date/Period the procedure was performed. The prefixes 'ge' and 'le' are supported for this parameter. Date may be provided once to imply a date range or twice to specify a range. When two dates are provided they must create a closed range." /></searchParam></resource><resource><type value="Practitioner" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" /><interaction><code value="search-type" /></interaction><interaction><code value="read" /></interaction><searchRevInclude value="Provenance:target" /><searchParam><name value="_id" /><type value="reference" /><documentation value="The ID of the resource" /></searchParam><searchParam><name value="identifier" /><type value="string" /><documentation value="A practitioner's Identifier" /></searchParam></resource><resource><type value="PractitionerRole" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" /><interaction><code value="search-type" /></interaction><interaction><code value="read" /></interaction><searchRevInclude value="Provenance:target" /><searchParam><name value="_id" /><type value="reference" /><documentation value="The ID of the resource" /></searchParam><searchParam><name value="identifier" /><type value="string" /><documentation value="A practitioner's Identifier" /></searchParam></resource><resource><type value="Encounter" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" /><interaction><code value="search-type" /></interaction><interaction><code value="read" /></interaction><searchRevInclude value="Provenance:target" /><searchParam><name value="_id" /><type value="reference" /><documentation value="The ID of the resource" /></searchParam><searchParam><name value="identifier" /><type value="reference" /><documentation value="The ID of the resource" /></searchParam><searchParam><name value="patient" /><type value="reference" /><documentation value="The identity of a patient to list healthconcerns for. It is a required field." /></searchParam><searchParam><name value="date" /><type value="date" /><documentation value="Time period plan covers. The prefixes 'ge' and 'le' are supported for this parameter. Date may be provided once to imply a date range or twice to specify a range. When two dates are provided they must create a closed range." /></searchParam><searchParam><name value="status" /><type value="token" /><documentation value="Status" /></searchParam></resource><resource><type value="ClinicalImpression" /><interaction><code value="search-type" /></interaction><interaction><code value="read" /></interaction><searchParam><name value="patient" /><type value="reference" /><documentation value="The identity of a patient to list ClinicalImpression for. It is a required field." /></searchParam><searchParam><name value="date" /><type value="date" /><documentation value="Time period plan covers. The prefixes 'ge' and 'le' are supported for this parameter. Date may be provided once to imply a date range or twice to specify a range. When two dates are provided they must create a closed range." /></searchParam></resource><resource><type value="Observation" /><profile value="http://hl7.org/fhir/StructureDefinition/Observation" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-social-history" /><supportedProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" /><interaction><code value="search-type" /></interaction><interaction><code value="read" /></interaction><searchRevInclude value="Provenance:target" /><searchParam><name value="patient" /><type value="reference" /><documentation value="The identity of a patient to list Observation for. It is a required field." /></searchParam><searchParam><name value="code" /><type value="string" /><documentation value="The code of the observation type" /></searchParam><searchParam><name value="category" /><type value="string" /><documentation value="The classification of the type of observation" /></searchParam><searchParam><name value="date" /><type value="date" /><documentation value="Obtained date/time. If the obtained element is a period, a date that falls in the period. The prefixes 'ge' and 'le' are supported for this parameter. Date may be provided once to imply a date range or twice to specify a range. When two dates are provided they must create a closed range." /></searchParam></resource><resource><type value="Provenance" /><profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance" /><interaction><code value="search-type" /></interaction><interaction><code value="read" /></interaction></resource><operation><name value="export" /><definition value="http://hl7.org/fhir/uv/bulkdata/OperationDefinition/export" /></operation></rest></CapabilityStatement>