Argonaut Data Query Implementation Guide Version 1.0.0

This page is part of the Argonaut Data Query Implementation Guide (v1.0.0: Release) based on FHIR R2. This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Argonaut Data Query Implementation Guide Client

{
  "resourceType" : "Conformance",
  "id" : "client",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns="http://www.w3.org/1999/xhtml">
			<span style="font-size:larger; font-weight:bold; ">Argonaut Data Query Implementation Guide Client</span>
			<hr/>
			<p>
				<span>FHIR Version: </span>
				<span>1.0.2</span>
				<br/>
				<span>Supported formats: </span>
				<span>xml</span>
				<span>, </span>
				<span>json</span>
				<br/>
				<span>Published: </span>
				<span>2016-10-18</span>
				<br/>
				<span>Published by: </span>
				<span>Argonaut Project</span>
			</p>
			<p>
				<span>This Conformance instance defines the expected capabilities of a client when conforming to the Argonaut Data Query Implementation Guide.</span>
			</p>
			<br/>
			<h4>
				<span style="font-size:larger; font-weight:bold; ">RESTful Behavior</span>
			</h4>
			<br/>
			<hr/>
			<div>
				<span>Description: </span>    <p><strong>The Argonaut client SHOULD:</strong></p> <ol> <li>Support fetching and querying of one or more Argonaut profile(s), using the supported RESTful interactions and search parameters declared in the <a href="Conformance-server.html">Argonaut Server Conformance Statement</a></li> </ol>  <br/></div>
			<div>
				<span>Security: </span>  <p><strong>Argonaut Data Query clients SHALL</strong> implement the <a href="index.html#security">security requirements</a> documented in this guide </p>  <br/></div>
			<span>Supported Operations: </span>
			<span style="font-weight:bold;">SHALL</span>
			<span> Support </span>
			<a href="http://fhir.org/guides/argonaut/OperationDefinition/docref">
				<span>docref</span>
			</a>
			<h4>
				<span style="font-weight:bold; ">Resource  Details:</span>
			</h4>
			<br/>
			<ol>
				<li>
					<span style="font-weight:bold; ">Resource Type: </span>
					<a name="Patient">
						<span style="font-weight:bold; ">Patient</span>
					</a>
					<p>
						<span>Supported Profiles:  </span>
						<a href="http://fhir.org/guides/argonaut/StructureDefinition-argo-patient.html">
							<span>Argonaut Data Query Patient Profile</span>
							<br/>
						</a>
						<br/>
					</p>    <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-patient</h4> <ul> <li>A client has connected to a server and fetched a patient using GET [base]/Patient/[id].</li> <li>A client has connected to a server and searched through available Patients using at least 2 (example name and gender) of the following search parameters: <ul> <li>name</li> <li>gender</li> <li>birthdate</li> </ul> </li> </ul> <p>To limit overly broad search results, a client search with gender <strong>SHOULD</strong> include family and given name search parameters.</p>           <p/><p/><p/><hr/></li>
				<li>
					<span style="font-weight:bold; ">Resource Type: </span>
					<a name="AllergyIntolerance">
						<span style="font-weight:bold; ">AllergyIntolerance</span>
					</a>
					<p>
						<span>Supported Profiles:  </span>
						<a href="http://fhir.org/guides/argonaut/StructureDefinition-argo-allergyintolerance.html">
							<span>Argonaut Data Query AllergyIntolerance Profile</span>
							<br/>
						</a>
						<br/>
					</p>    <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-allergintolerance</h4> <ul> <li>A client has connected to a server and fetched a patient's allergies using GET /AllergyIntolerance?patient=[id].</li> </ul>            <p/><p/><p/><hr/></li>
				<li>
					<span style="font-weight:bold; ">Resource Type: </span>
					<a name="CarePlan">
						<span style="font-weight:bold; ">CarePlan</span>
					</a>
					<p>
						<span>Supported Profiles:  </span>
						<a href="http://fhir.org/guides/argonaut/StructureDefinition-argo-careplan.html">
							<span>Argonaut Data Query CarePlan Profile</span>
							<br/>
						</a>
						<a href="http://fhir.org/guides/argonaut/StructureDefinition-argo-careteam.html">
							<span>Argonaut Data Query CareTeam Profile</span>
							<br/>
						</a>
						<br/>
					</p>   <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-careplan</h4> <ul> <li>c of a patient's Assessment and Plan of Treatment information using GET /CarePlan?patient=[id]&amp;category=assess-plan.</li> <li>A client has connected to a server and fetched all of a patient's Assessment and Plan of Treatment information over a specified time period using GET /CarePlan?patient=[id]&amp;category=assess-plan&amp;date=[date].</li> </ul> <ul> <li>A client <strong>SHOULD</strong> be capable of connecting to a server and fetching all of a patient's active Assessment and Plan of Treatment information using GET /CarePlan?patient=[id]&amp;category=assess-plan&amp;status=active.</li> <li>A client <strong>SHOULD</strong> be capable of connecting to a server and fetching all of a patient's active Assessment and Plan of Treatment information over a specified time period using GET /CarePlan?patient=[id]&amp;category=assess-plan&amp;status=active&amp;date=[date].</li> </ul>     <h4 id="summary-of-argonaut-search-criteria-for-structuredefinition-argo-careteam">Summary of Argonaut Search Criteria for StructureDefinition-argo-careteam</h4>      <ul>      <li>A client has connected to a server and fetched a patients current care team members using GET[base]/CarePlan?patient=[id]&amp;category=careteam&amp;status=active</li>      </ul>       <p/><p/><p/><hr/></li>
				<li>
					<span style="font-weight:bold; ">Resource Type: </span>
					<a name="Condition">
						<span style="font-weight:bold; ">Condition</span>
					</a>
					<p>
						<span>Supported Profiles:  </span>
						<a href="http://fhir.org/guides/argonaut/StructureDefinition-argo-condition.html">
							<span>Argonaut Data Query Condition Profile</span>
							<br/>
						</a>
						<br/>
					</p>  <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-condition</h4> <ul> <li>A client connected to a server and fetched all problems and health concerns for a patient, including current as well as historical problems and health concerns using GET/Condition?patient=[id]</li> </ul>        <p/><p/><p/><hr/></li>
				<li>
					<span style="font-weight:bold; ">Resource Type: </span>
					<a name="Device">
						<span style="font-weight:bold; ">Device</span>
					</a>
					<p>
						<span>Supported Profiles:  </span>
						<a href="http://fhir.org/guides/argonaut/StructureDefinition-argo-device.html">
							<span>Argonaut Data Query Device Profile</span>
							<br/>
						</a>
						<br/>
					</p>   <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-device</h4> <ul> <li>A client has connected to a server and fetched all Unique device identifier(s)(UDI)for a patient's implantable device(s)using GET /Device?patient=[id].</li> </ul>    <p/><p/><p/><hr/></li>
				<li>
					<span style="font-weight:bold; ">Resource Type: </span>
					<a name="DocumentReference">
						<span style="font-weight:bold; ">DocumentReference</span>
					</a>
					<p>
						<span>Supported Profiles:  </span>
						<a href="http://fhir.org/guides/argonaut/StructureDefinition-argo-documentreference.html">
							<span>Argonaut Data Query Document Reference Profile</span>
							<br/>
						</a>
						<br/>
					</p> <h4>Search Criteria for StructureDefinition-argo-documentreference</h4>     <p> The Server <strong>SHALL</strong> support fetching document references using either the direct query for DocumentReference resources as described here or the <a href="OperationDefinition-docref.html">$docref operation</a>.  The Client <strong>SHALL</strong> support both methods.</p>  <p>A client has connected to a server and fetches document references for a patient:</p><ul><li><code>GET [base]/DocumentReference/$docref?patient=[id]</code></li></ul><p>A client <strong>SHOULD</strong> be capable of connecting to a server and fetching references for a patient searched by type and/or date using:</p><ul><li><code>GET [base]/DocumentReference/$docref?patient=[id]{&amp;type=[type]}{&amp;period=[date]}</code></li></ul>     <p/><p/><p>
						<span>Supported Search Combinations:</span>
						<span>patient</span>
						<span> + </span>
						<span>type</span>
						<span> + </span>
						<span>period</span>
					</p><p/><hr/></li>
				<li>
					<span style="font-weight:bold; ">Resource Type: </span>
					<a name="Goal">
						<span style="font-weight:bold; ">Goal</span>
					</a>
					<p>
						<span>Supported Profiles:  </span>
						<a href="http://fhir.org/guides/argonaut/StructureDefinition-argo-goal.html">
							<span>Argonaut Data Query Goal Profile</span>
							<br/>
						</a>
						<br/>
					</p>         <h4>Summary of US Core Search Criteria for StructureDefinition-us-core-goal</h4> <ul> <li>A client has connected to a server and fetched all of a patient's goals using GET [base]/Goal?patient=[id].</li> <li>A client has connected to a server and fetched all of a patient's goals over a specified time period using GET [base]/Goal?patient=[id]&amp;date=[date]{&amp;date=[date]}.</li> </ul>      <p/><p/><p/><hr/></li>
				<li>
					<span style="font-weight:bold; ">Resource Type: </span>
					<a name="Immunization">
						<span style="font-weight:bold; ">Immunization</span>
					</a>
					<p>
						<span>Supported Profiles:  </span>
						<a href="http://fhir.org/guides/argonaut/StructureDefinition-argo-immunization.html">
							<span>Argonaut Data Query Immunization Profile</span>
							<br/>
						</a>
						<br/>
					</p>     <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-immunization</h4> <ul> <li>A client has connected to a server and fetched all immunizations for a patient using GET /Immunization?patient=[id].</li> </ul>         <p/><p/><p/><hr/></li>
				<li>
					<span style="font-weight:bold; ">Resource Type: </span>
					<a name="DiagnosticReport">
						<span style="font-weight:bold; ">DiagnosticReport</span>
					</a>
					<p>
						<span>Supported Profiles:  </span>
						<a href="http://fhir.org/guides/argonaut/StructureDefinition-argo-diagnosticreport.html">
							<span>Argonaut Data Query DiagnosticReport Profile</span>
							<br/>
						</a>
						<br/>
					</p>      <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-diagnosticreport</h4> <ul> <li>A client has connected to a server and fetched all of a patient's laboratory diagnostic reports by searching by category using GET [base]/DiagnosticReport?patient=[id]&amp;category=LAB.</li> <li>A client has connected to a server and fetched all of a patient's laboratory diagnostic reports searching by category code and date range using GET [base]/DiagnosticReport?patient=[id]&amp;category=LAB&amp;date=[date]{&amp;date=[date]}.</li> <li>A client has connected to a server and fetched all of all of a patient's laboratory diagnostic reports searching by category and code using GET [base]/DiagnosticReport?patient=[id]&amp;category=LAB&amp;code=[LOINC].</li> </ul> <ul> <li>A client <strong>SHOULD</strong> be capable of connecting to a server and fetching any of a patient's laboratory diagnostic reports searching by category and one or more codes and date range using GET [base]/DiagnosticReport?patient=[id]&amp;category=LAB&amp;code=[LOINC1{,LOINC2,LOINC3,...}]&amp;date=[date]{&amp;date=[date]}.</li> </ul>        <p/><p/><p/><hr/></li>
				<li>
					<span style="font-weight:bold; ">Resource Type: </span>
					<a name="Observation">
						<span style="font-weight:bold; ">Observation</span>
					</a>
					<p>
						<span>Supported Profiles:  </span>
						<a href="http://fhir.org/guides/argonaut/StructureDefinition-argo-observationresults.html">
							<span>Argonaut Data Query Result Observation Profile</span>
							<br/>
						</a>
						<a href="http://fhir.org/guides/argonaut/StructureDefinition-argo-vitalsigns.html">
							<span>Argonaut Data Query Vital Signs Profile</span>
							<br/>
						</a>
						<a href="http://fhir.org/guides/argonaut/StructureDefinition-argo-smokingstatus.html">
							<span>Argonaut Data Query Smoking Status Observation Profile</span>
							<br/>
						</a>
						<br/>
					</p>       <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-observationresults</h4> <ul> <li>A client has connected to a server and fetched all of a patient's laboratory results by searching by category using GET [base]/Observation?patient=[id]&amp;category=laboratory.</li> <li>A client has connected to a server and fetched all of a patient's laboratory results searching by category code and date range using GET [base]/Observation?patient=[id]&amp;category=laboratory&amp;date=[date]{&amp;date=[date]}.</li> <li>A client has connected to a server and fetched all of all of a patient's laboratory results searching by category and code using GET [base]/Observation?patient=[id]&amp;category=laboratory&amp;code=[LOINC].</li> </ul> <ul> <li>A client <strong>SHOULD</strong> be capable of connecting to a server and fetching any of a patient's laboratory results searching by category and one or more codes and date range using GET [base]/Observation?patient=[id]&amp;category=laboratory&amp;code=[LOINC1{,LOINC2,LOINC3,...}]&amp;date=[date]{&amp;date=[date]}.</li> </ul> <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-smokingstatus</h4> <ul> <li>A client has connected to a server and fetched a patient's smoking status using GET [base]/Observation?patient=[id]&amp;code=72166-2.</li> </ul> <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-vitalsigns</h4> <ul> <li>A client has connected to a server and fetched all of a patient's vital signs by searching by category using GET [base]/Observation?patient=[id]&amp;category=vital-signs.</li> <li>A client has connected to a server and fetched all of a patient's vital signs searching by category code and date range using GET [base]/Observation?patient=[id]&amp;category=vital-signs&amp;date=[date]{&amp;date=[date]}.</li> <li>A client has connected to a server and fetched any of a patient's vital signs by searching by one or more of the codes listed below using GET [base]/Observation?patient=[id]&amp;code[vital sign LOINC{,LOINC2,LOINC3,...}].</li> </ul> <ul> <li>A client <strong>SHOULD</strong> be capable of connecting to a server and fetching any of a patient's vital signs searching by one or more of the codes listed below and date range using GET [base]/Observation?patient=[id]&amp;code=[LOINC{,LOINC2...}]vital-signs&amp;date=[date]{&amp;date=[date]}.</li> </ul>      <p/><p/><p/><hr/></li>
				<li>
					<span style="font-weight:bold; ">Resource Type: </span>
					<a name="Medication">
						<span style="font-weight:bold; ">Medication</span>
					</a>
					<p>
						<span>Supported Profiles:  </span>
						<a href="http://fhir.org/guides/argonaut/StructureDefinition-argo-medication.html">
							<span>Argonaut Data Query Medication Profile</span>
							<br/>
						</a>
						<br/>
					</p>    <p>The MedicationStatement and MedicationOrder resources can represent a medication, using either a code or refer to a [Medication] resource.  If the Medication Resource is used in a MedicationStatement or a MedicationOrder,  then the READ and SEARCH Criteria <strong>SHALL</strong> be supported.</p>       <p/><p/><p/><hr/></li>
				<li>
					<span style="font-weight:bold; ">Resource Type: </span>
					<a name="MedicationStatement">
						<span style="font-weight:bold; ">MedicationStatement</span>
					</a>
					<p>
						<span>Supported Profiles:  </span>
						<a href="http://fhir.org/guides/argonaut/StructureDefinition-argo-medicationstatement.html">
							<span>Argonaut Data Query MedicationStatement Profile</span>
							<br/>
						</a>
						<br/>
					</p>     <p><strong>Summary of US Core Search Criteria for StructureDefinition-us-core-medicationstatement</strong></p> <p>The MedicationStatement and MedicationOrder resources can represent a medication, using either a code or refer to a Medication resource. When referencing a Medication resource, the resource may be <a href="http://hl7.org/fhir/2017Jan/references.html#contained">contained</a> or an external resource. The server application can choose any one way or more than one method, but <strong>IF</strong> the an external reference to Medication is used, the server <strong>SHALL</strong> support the <a href="http://hl7.org/fhir/2017Jan/references.html#include">include</a> parameter for searching this element. The client application <strong>SHALL</strong> support both methods.</p> <ul> <li>A client has connected to a server and fetched a patient's medications using:</li> </ul> <ol> <li>GET /MedicationStatement?patient=[id]</li> <li>GET /MedicationStatement?patient=[id]&amp;_include=MedicationStatement:medication</li> </ol>        <p/><p/><p/><hr/></li>
				<li>
					<span style="font-weight:bold; ">Resource Type: </span>
					<a name="MedicationOrder">
						<span style="font-weight:bold; ">MedicationOrder</span>
					</a>
					<p>
						<span>Supported Profiles:  </span>
						<a href="http://fhir.org/guides/argonaut/StructureDefinition-argo-MedicationOrder.html">
							<span>Argonaut Data Query MedicationOrder Profile</span>
							<br/>
						</a>
						<br/>
					</p>   <p><strong>Summary of US Core Search Criteria for StructureDefinition-us-core-medicationorder</strong></p> <p>The MedicationStatement and MedicationOrder resources can represent a medication, using either a code or refer to a Medication resource. When referencing a Medication resource, the resource may be <a href="http://hl7.org/fhir/references.html#contained">contained</a> or an external resource. The server application can choose any one way or more than one method, but <strong>IF</strong> the an external reference to Medication is used, the server <strong>SHALL</strong> support the <a href="http://hl7.org/fhir/references.html#include">include</a> parameter for searching this element. The client application <strong>SHALL</strong> support both methods.</p> <ul> <li>A client has connected to a server and fetched a patient's medications using:</li> </ul> <ol> <li>GET /MedicationOrder?patient=[id]</li> <li>GET /MedicationOrder?patient=[id]&amp;_include=MedicationOrder:medication</li> </ol>        <p/><p/><p/><hr/></li>
				<li>
					<span style="font-weight:bold; ">Resource Type: </span>
					<a name="Procedure">
						<span style="font-weight:bold; ">Procedure</span>
					</a>
					<p>
						<span>Supported Profiles:  </span>
						<a href="http://fhir.org/guides/argonaut/StructureDefinition-argo-procedure.html">
							<span>Argonaut Data Query Procedure Profile</span>
							<br/>
						</a>
						<br/>
					</p>   <h4>Summary of US Core Search Criteria for StructureDefinition-us-core-procedure</h4> <ul> <li>A client connected to a server and fetched all procedures for a patient, including current as well as historical Procedures GET/Procedure?patient=[id].</li> <li>A client has connected to a server and fetched all of a patient's procedures over a specified time period using GET /Procedure?patient=[id]&amp;date=[date]{&amp;date=[date]}.</li> </ul>          <p/><p/><p/><hr/></li>
			</ol>
			<br/>
			<br/>
			<br/>
		</div>"
  },
  "url" : "http://fhir.org/guides/argonaut/Conformance/client",
  "name" : "Argonaut Data Query Implementation Guide Client",
  "status" : "draft",
  "publisher" : "Argonaut Project",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "other",
          "value" : "http://argonautwiki.hl7.org"
        }
      ]
    }
  ],
  "date" : "2016-10-18",
  "description" : "This Conformance instance defines the expected capabilities of a client when conforming to the Argonaut Data Query Implementation Guide.",
  "kind" : "requirements",
  "fhirVersion" : "1.0.2",
  "acceptUnknown" : "extensions",
  "format" : [
    "xml",
    "json"
  ],
  "profile" : [
    {
      "extension" : [
        {
          "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link",
          "valueCode" : "AllergyIntolerance"
        }
      ],
      "reference" : "http://fhir.org/guides/argonaut/StructureDefinition-argo-allergyintolerance.html",
      "display" : "Argonaut Data Query AllergyIntolerance Profile"
    },
    {
      "extension" : [
        {
          "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link",
          "valueCode" : "CarePlan"
        }
      ],
      "reference" : "http://fhir.org/guides/argonaut/StructureDefinition-argo-careplan.html",
      "display" : "Argonaut Data Query CarePlan Profile"
    },
    {
      "extension" : [
        {
          "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link",
          "valueCode" : "CarePlan"
        }
      ],
      "reference" : "http://fhir.org/guides/argonaut/StructureDefinition-argo-careteam.html",
      "display" : "Argonaut Data Query CareTeam Profile"
    },
    {
      "extension" : [
        {
          "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link",
          "valueCode" : "Condition"
        }
      ],
      "reference" : "http://fhir.org/guides/argonaut/StructureDefinition-argo-condition.html",
      "display" : "Argonaut Data Query Condition Profile"
    },
    {
      "extension" : [
        {
          "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link",
          "valueCode" : "DocumentReference"
        }
      ],
      "reference" : "http://fhir.org/guides/argonaut/StructureDefinition-argo-documentreference.html",
      "display" : "Argonaut Data Query Document Reference Profile"
    },
    {
      "extension" : [
        {
          "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link",
          "valueCode" : "Device"
        }
      ],
      "reference" : "http://fhir.org/guides/argonaut/StructureDefinition-argo-device.html",
      "display" : "Argonaut Data Query Device Profile"
    },
    {
      "extension" : [
        {
          "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link",
          "valueCode" : "Goal"
        }
      ],
      "reference" : "http://fhir.org/guides/argonaut/StructureDefinition-argo-goal.html",
      "display" : "Argonaut Data Query Goal Profile"
    },
    {
      "extension" : [
        {
          "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link",
          "valueCode" : "Immunization"
        }
      ],
      "reference" : "http://fhir.org/guides/argonaut/StructureDefinition-argo-immunization.html",
      "display" : "Argonaut Data Query Immunization Profile"
    },
    {
      "extension" : [
        {
          "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link",
          "valueCode" : "DiagnosticReport"
        }
      ],
      "reference" : "http://fhir.org/guides/argonaut/StructureDefinition-argo-diagnosticreport.html",
      "display" : "Argonaut Data Query DiagnosticReport Profile"
    },
    {
      "extension" : [
        {
          "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link",
          "valueCode" : "Observation"
        }
      ],
      "reference" : "http://fhir.org/guides/argonaut/StructureDefinition-argo-observationresults.html",
      "display" : "Argonaut Data Query Result Observation Profile"
    },
    {
      "extension" : [
        {
          "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link",
          "valueCode" : "Medication"
        }
      ],
      "reference" : "http://fhir.org/guides/argonaut/StructureDefinition-argo-medication.html",
      "display" : "Argonaut Data Query Medication Profile"
    },
    {
      "extension" : [
        {
          "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link",
          "valueCode" : "MedicationOrder"
        }
      ],
      "reference" : "http://fhir.org/guides/argonaut/StructureDefinition-argo-MedicationOrder.html",
      "display" : "Argonaut Data Query MedicationOrder Profile"
    },
    {
      "extension" : [
        {
          "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link",
          "valueCode" : "MedicationStatement"
        }
      ],
      "reference" : "http://fhir.org/guides/argonaut/StructureDefinition-argo-medicationstatement.html",
      "display" : "Argonaut Data Query MedicationStatement Profile"
    },
    {
      "extension" : [
        {
          "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link",
          "valueCode" : "Observation"
        }
      ],
      "reference" : "http://fhir.org/guides/argonaut/StructureDefinition-argo-vitalsigns.html",
      "display" : "Argonaut Data Query Vital Signs Profile"
    },
    {
      "extension" : [
        {
          "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link",
          "valueCode" : "Observation"
        }
      ],
      "reference" : "http://fhir.org/guides/argonaut/StructureDefinition-argo-smokingstatus.html",
      "display" : "Argonaut Data Query Smoking Status Observation Profile"
    },
    {
      "extension" : [
        {
          "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link",
          "valueCode" : "Patient"
        }
      ],
      "reference" : "http://fhir.org/guides/argonaut/StructureDefinition-argo-patient.html",
      "display" : "Argonaut Data Query Patient Profile"
    },
    {
      "extension" : [
        {
          "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-profile-link",
          "valueCode" : "Procedure"
        }
      ],
      "reference" : "http://fhir.org/guides/argonaut/StructureDefinition-argo-procedure.html",
      "display" : "Argonaut Data Query Procedure Profile"
    }
  ],
  "rest" : [
    {
      "mode" : "client",
      "documentation" : "    <p><strong>The Argonaut client SHOULD:</strong></p> <ol> <li>Support fetching and querying of one or more Argonaut profile(s), using the supported RESTful interactions and search parameters declared in the <a href="Conformance-server.html">Argonaut Server Conformance Statement</a></li> </ol>  ",
      "security" : {
        "description" : "  <p><strong>Argonaut Data Query clients SHALL</strong> implement the <a href="index.html#security">security requirements</a> documented in this guide </p>  "
      },
      "resource" : [
        {
          "extension" : [
            {
              "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation",
              "valueMarkdown" : "    <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-patient</h4> <ul> <li>A client has connected to a server and fetched a patient using GET [base]/Patient/[id].</li> <li>A client has connected to a server and searched through available Patients using at least 2 (example name and gender) of the following search parameters: <ul> <li>name</li> <li>gender</li> <li>birthdate</li> </ul> </li> </ul> <p>To limit overly broad search results, a client search with gender <strong>SHOULD</strong> include family and given name search parameters.</p>           "
            }
          ],
          "type" : "Patient",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing Argonaut Data Query patient resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific Argonaut Data Query patients by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to Argonaut Data Query patient instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a Argonaut Data Query patient instance"
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation",
              "valueMarkdown" : "    <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-allergintolerance</h4> <ul> <li>A client has connected to a server and fetched a patient's allergies using GET /AllergyIntolerance?patient=[id].</li> </ul>            "
            }
          ],
          "type" : "AllergyIntolerance",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing Argonaut Data Query AllergyIntolerance resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific Argonaut Data Query AllergyIntolerance by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to Argonaut Data Query AllergyIntolerance instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a Argonaut Data Query AllergyIntolerance instance"
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation",
              "valueMarkdown" : "   <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-careplan</h4> <ul> <li>c of a patient's Assessment and Plan of Treatment information using GET /CarePlan?patient=[id]&amp;category=assess-plan.</li> <li>A client  <strong>SHOULD</strong> be capable of connecting to a server and fetched all of a patient's Assessment and Plan of Treatment information over a specified time period using GET /CarePlan?patient=[id]&amp;category=assess-plan&amp;date=[date].</li> </ul> <ul> <li>A client <strong>SHOULD</strong> be capable of connecting to a server and fetching all of a patient's active Assessment and Plan of Treatment information using GET /CarePlan?patient=[id]&amp;category=assess-plan&amp;status=active.</li> <li>A client <strong>SHOULD</strong> be capable of connecting to a server and fetching all of a patient's active Assessment and Plan of Treatment information over a specified time period using GET /CarePlan?patient=[id]&amp;category=assess-plan&amp;status=active&amp;date=[date].</li> </ul>     <h4 id="summary-of-argonaut-search-criteria-for-structuredefinition-argo-careteam">Summary of Argonaut Search Criteria for StructureDefinition-argo-careteam</h4>      <ul>      <li>A client has connected to a server and fetched a patients current care team members using GET[base]/CarePlan?patient=[id]&amp;category=careteam&amp;status=active</li>      </ul>       "
            }
          ],
          "type" : "CarePlan",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing Argonaut Data Query careplan resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific Argonaut Data Query careplan by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to Argonaut Data Query careplan instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a Argonaut Data Query careplan instance"
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation",
              "valueMarkdown" : "  <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-condition</h4> <ul> <li>A client connected to a server and fetched all problems and health concerns for a patient, including current as well as historical problems and health concerns using GET/Condition?patient=[id]</li> </ul>        "
            }
          ],
          "type" : "Condition",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing Argonaut Data Query condition resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific Argonaut Data Query condition by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to Argonaut Data Query condition instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a Argonaut Data Query condition instance"
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation",
              "valueMarkdown" : "   <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-device</h4> <ul> <li>A client has connected to a server and fetched all Unique device identifier(s)(UDI)for a patient's implantable device(s)using GET /Device?patient=[id].</li> </ul>    "
            }
          ],
          "type" : "Device",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing Argonaut Data Query device resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific Argonaut Data Query device by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to Argonaut Data Query device instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a Argonaut Data Query device instance"
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation",
              "valueMarkdown" : " <h4>Search Criteria for StructureDefinition-argo-documentreference</h4>     <p> The Server <strong>SHALL</strong> support fetching document references using either the direct query for DocumentReference resources as described here or the <a href="OperationDefinition-docref.html">$docref operation</a>.  The Client <strong>SHALL</strong> support both methods.</p>  <p>A client has connected to a server and fetches document references for a patient:</p><ul><li><code>GET [base]/DocumentReference/$docref?patient=[id]</code></li></ul><p>A client <strong>SHOULD</strong> be capable of connecting to a server and fetching references for a patient searched by type and/or date using:</p><ul><li><code>GET [base]/DocumentReference/$docref?patient=[id]{&amp;type=[type]}{&amp;period=[date]}</code></li></ul>     "
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination",
              "extension" : [
                {
                  "url" : "required",
                  "valueString" : "patient"
                },
                {
                  "url" : "required",
                  "valueString" : "type"
                },
                {
                  "url" : "required",
                  "valueString" : "period"
                }
              ]
            }
          ],
          "type" : "DocumentReference",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing Argonaut Document Query DocumentReference resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific Argonaut Document Query DocumentReference by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to Argonaut Document Query DocumentReference instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a Argonaut Document Query DocumentReference instance"
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation",
              "valueMarkdown" : "         <h4>Summary of US Core Search Criteria for StructureDefinition-us-core-goal</h4> <ul> <li>A client has connected to a server and fetched all of a patient's goals using GET [base]/Goal?patient=[id].</li> <li>A client has connected to a server and fetched all of a patient's goals over a specified time period using GET [base]/Goal?patient=[id]&amp;date=[date]{&amp;date=[date]}.</li> </ul>      "
            }
          ],
          "type" : "Goal",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing Argonaut Data Query goal resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific Argonaut Data Query goal by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to Argonaut Data Query goal instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a Argonaut Data Query goal instance"
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation",
              "valueMarkdown" : "     <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-immunization</h4> <ul> <li>A client has connected to a server and fetched all immunizations for a patient using GET /Immunization?patient=[id].</li> </ul>         "
            }
          ],
          "type" : "Immunization",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing Argonaut Data Query immunization resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific Argonaut Data Query immunization by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to Argonaut Data Query immunization instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a Argonaut Data Query immunization instance"
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation",
              "valueMarkdown" : "      <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-diagnosticreport</h4> <ul> <li>A client has connected to a server and fetched all of a patient's laboratory diagnostic reports by searching by category using GET [base]/DiagnosticReport?patient=[id]&amp;category=LAB.</li> <li>A client has connected to a server and fetched all of a patient's laboratory diagnostic reports searching by category code and date range using GET [base]/DiagnosticReport?patient=[id]&amp;category=LAB&amp;date=[date]{&amp;date=[date]}.</li> <li>A client has connected to a server and fetched all of all of a patient's laboratory diagnostic reports searching by category and code using GET [base]/DiagnosticReport?patient=[id]&amp;category=LAB&amp;code=[LOINC].</li> </ul> <ul> <li>A client <strong>SHOULD</strong> be capable of connecting to a server and fetching any of a patient's laboratory diagnostic reports searching by category and one or more codes and date range using GET [base]/DiagnosticReport?patient=[id]&amp;category=LAB&amp;code=[LOINC1{,LOINC2,LOINC3,...}]&amp;date=[date]{&amp;date=[date]}.</li> </ul>        "
            }
          ],
          "type" : "DiagnosticReport",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing Argonaut Data Query diagnosticreport resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific Argonaut Data Query diagnosticreport by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to Argonaut Data Query diagnosticreport instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a Argonaut Data Query diagnosticreport instance"
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation",
              "valueMarkdown" : "       <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-observationresults</h4> <ul> <li>A client has connected to a server and fetched all of a patient's laboratory results by searching by category using GET [base]/Observation?patient=[id]&amp;category=laboratory.</li> <li>A client has connected to a server and fetched all of a patient's laboratory results searching by category code and date range using GET [base]/Observation?patient=[id]&amp;category=laboratory&amp;date=[date]{&amp;date=[date]}.</li> <li>A client has connected to a server and fetched all of all of a patient's laboratory results searching by category and code using GET [base]/Observation?patient=[id]&amp;category=laboratory&amp;code=[LOINC].</li> </ul> <ul> <li>A client <strong>SHOULD</strong> be capable of connecting to a server and fetching any of a patient's laboratory results searching by category and one or more codes and date range using GET [base]/Observation?patient=[id]&amp;category=laboratory&amp;code=[LOINC1{,LOINC2,LOINC3,...}]&amp;date=[date]{&amp;date=[date]}.</li> </ul> <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-smokingstatus</h4> <ul> <li>A client has connected to a server and fetched a patient's smoking status using GET [base]/Observation?patient=[id]&amp;code=72166-2.</li> </ul> <h4>Summary of Argonaut Search Criteria for StructureDefinition-us-core-vitalsigns</h4> <ul> <li>A client has connected to a server and fetched all of a patient's vital signs by searching by category using GET [base]/Observation?patient=[id]&amp;category=vital-signs.</li> <li>A client has connected to a server and fetched all of a patient's vital signs searching by category code and date range using GET [base]/Observation?patient=[id]&amp;category=vital-signs&amp;date=[date]{&amp;date=[date]}.</li> <li>A client has connected to a server and fetched any of a patient's vital signs by searching by one or more of the codes listed below using GET [base]/Observation?patient=[id]&amp;code[vital sign LOINC{,LOINC2,LOINC3,...}].</li> </ul> <ul> <li>A client <strong>SHOULD</strong> be capable of connecting to a server and fetching any of a patient's vital signs searching by one or more of the codes listed below and date range using GET [base]/Observation?patient=[id]&amp;code=[LOINC{,LOINC2...}]vital-signs&amp;date=[date]{&amp;date=[date]}.</li> </ul>      "
            }
          ],
          "type" : "Observation",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing Argonaut Data Query resultobs resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific Argonaut Data Query resultobs by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to Argonaut Data Query resultobs instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a Argonaut Data Query resultobs instance"
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation",
              "valueMarkdown" : "    <p>The MedicationStatement and MedicationOrder resources can represent a medication, using either a code or refer to a [Medication] resource.  If the Medication Resource is used in a MedicationStatement or a MedicationOrder,  then the READ and SEARCH Criteria <strong>SHALL</strong> be supported.</p>       "
            }
          ],
          "type" : "Medication",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing Argonaut Data Query medicationstatement resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific Argonaut Data Query medicationstatement by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to Argonaut Data Query medicationstatement instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a Argonaut Data Query medicationstatement instance"
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation",
              "valueMarkdown" : "     <p><strong>Summary of US Core Search Criteria for StructureDefinition-us-core-medicationstatement</strong></p> <p>The MedicationStatement and MedicationOrder resources can represent a medication, using either a code or refer to a Medication resource. When referencing a Medication resource, the resource may be <a href="http://hl7.org/fhir/2017Jan/references.html#contained">contained</a> or an external resource. The server application can choose any one way or more than one method, but <strong>IF</strong> the an external reference to Medication is used, the server <strong>SHALL</strong> support the <a href="http://hl7.org/fhir/2017Jan/references.html#include">include</a> parameter for searching this element. The client application <strong>SHALL</strong> support both methods.</p> <ul> <li>A client has connected to a server and fetched a patient's medications using:</li> </ul> <ol> <li>GET /MedicationStatement?patient=[id]</li> <li>GET /MedicationStatement?patient=[id]&amp;_include=MedicationStatement:medication</li> </ol>        "
            }
          ],
          "type" : "MedicationStatement",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing Argonaut Data Query medicationstatement resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific Argonaut Data Query medicationstatement by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to Argonaut Data Query medicationstatement instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a Argonaut Data Query medicationstatement instance"
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation",
              "valueMarkdown" : "   <p><strong>Summary of US Core Search Criteria for StructureDefinition-us-core-medicationorder</strong></p> <p>The MedicationStatement and MedicationOrder resources can represent a medication, using either a code or refer to a Medication resource. When referencing a Medication resource, the resource may be <a href="http://hl7.org/fhir/references.html#contained">contained</a> or an external resource. The server application can choose any one way or more than one method, but <strong>IF</strong> the an external reference to Medication is used, the server <strong>SHALL</strong> support the <a href="http://hl7.org/fhir/references.html#include">include</a> parameter for searching this element. The client application <strong>SHALL</strong> support both methods.</p> <ul> <li>A client has connected to a server and fetched a patient's medications using:</li> </ul> <ol> <li>GET /MedicationOrder?patient=[id]</li> <li>GET /MedicationOrder?patient=[id]&amp;_include=MedicationOrder:medication</li> </ol>        "
            }
          ],
          "type" : "MedicationOrder",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing Argonaut Data Query medicationorder resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific Argonaut Data Query medicationorder by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to Argonaut Data Query medicationorder instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a Argonaut Data Query medicationorder instance"
            }
          ]
        },
        {
          "extension" : [
            {
              "url" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation",
              "valueMarkdown" : "   <h4>Summary of US Core Search Criteria for StructureDefinition-us-core-procedure</h4> <ul> <li>A client connected to a server and fetched all procedures for a patient, including current as well as historical Procedures GET/Procedure?patient=[id].</li> <li>A client has connected to a server and fetched all of a patient's procedures over a specified time period using GET /Procedure?patient=[id]&amp;date=[date]{&amp;date=[date]}.</li> </ul>          "
            }
          ],
          "type" : "Procedure",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "search-type",
              "documentation" : "Allows discovery of existing Argonaut Data Query procedure resources using different search criteria"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "SHOULD"
                }
              ],
              "code" : "read",
              "documentation" : "Allows retrieval of a specific Argonaut Data Query procedure by id"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "history-instance",
              "documentation" : "Allows review of changes to Argonaut Data Query procedure instance over time"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
                  "valueCode" : "MAY"
                }
              ],
              "code" : "vread",
              "documentation" : "Allows retrieval of a historical version of a Argonaut Data Query procedure instance"
            }
          ]
        }
      ],
      "operation" : [
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/conformance-expectation",
              "valueCode" : "SHALL"
            }
          ],
          "name" : "docref",
          "definition" : {
            "reference" : "http://fhir.org/guides/argonaut/OperationDefinition/docref",
            "display" : "Argonaut Get DocumentReferences"
          }
        }
      ]
    }
  ]
}