From 54657214de516b11102f2046e304094f4f4ba4e9 Mon Sep 17 00:00:00 2001 From: jamesagnew Date: Sat, 17 Aug 2019 18:11:52 -0400 Subject: [PATCH] FIx issue uploading US Core resources --- .../fhir/jpa/dao/dstu2/BaseJpaDstu2Test.java | 3 + .../dstu2/FhirResourceDaoDstu2UpdateTest.java | 14 + .../resources/dstu2/Conformance-server.json | 1689 +++++++++++++++++ .../extractor/LogicalReferenceHelper.java | 9 + 4 files changed, 1715 insertions(+) create mode 100644 hapi-fhir-jpaserver-base/src/test/resources/dstu2/Conformance-server.json diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu2/BaseJpaDstu2Test.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu2/BaseJpaDstu2Test.java index 62740d2e324..3b638ff8135 100644 --- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu2/BaseJpaDstu2Test.java +++ b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu2/BaseJpaDstu2Test.java @@ -132,6 +132,9 @@ public abstract class BaseJpaDstu2Test extends BaseJpaTest { @Qualifier("myPatientDaoDstu2") protected IFhirResourceDaoPatient myPatientDao; @Autowired + @Qualifier("myConformanceDaoDstu2") + protected IFhirResourceDao myConformanceDao; + @Autowired @Qualifier("myGroupDaoDstu2") protected IFhirResourceDao myGroupDao; @Autowired diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu2/FhirResourceDaoDstu2UpdateTest.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu2/FhirResourceDaoDstu2UpdateTest.java index 550e1b5e6d7..e604dea308d 100644 --- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu2/FhirResourceDaoDstu2UpdateTest.java +++ b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu2/FhirResourceDaoDstu2UpdateTest.java @@ -6,6 +6,7 @@ import ca.uhn.fhir.model.api.Tag; import ca.uhn.fhir.model.api.TagList; import ca.uhn.fhir.model.base.composite.BaseCodingDt; import ca.uhn.fhir.model.dstu2.composite.CodingDt; +import ca.uhn.fhir.model.dstu2.resource.Conformance; import ca.uhn.fhir.model.dstu2.resource.Organization; import ca.uhn.fhir.model.dstu2.resource.Patient; import ca.uhn.fhir.model.primitive.IdDt; @@ -18,6 +19,7 @@ import org.hl7.fhir.instance.model.api.IIdType; import org.junit.AfterClass; import org.junit.Test; +import java.io.IOException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; @@ -84,6 +86,18 @@ public class FhirResourceDaoDstu2UpdateTest extends BaseJpaDstu2Test { myPatientDao.update(p, mySrd); } + /** + * Make sure we can upload a real example resource from the DSTU2 argonaut example pack + */ + @Test + public void testUploadArgonautExampleConformance() throws IOException { + Conformance conformance = loadResourceFromClasspath(Conformance.class, "/dstu2/Conformance-server.json"); + conformance.setId(""); + myConformanceDao.create(conformance); + + assertEquals(1, myConformanceDao.search(new SearchParameterMap().setLoadSynchronous(true)).size().intValue()); + } + /** * Per the spec, update should preserve tags and security labels but not profiles */ diff --git a/hapi-fhir-jpaserver-base/src/test/resources/dstu2/Conformance-server.json b/hapi-fhir-jpaserver-base/src/test/resources/dstu2/Conformance-server.json new file mode 100644 index 00000000000..762ebc6753d --- /dev/null +++ b/hapi-fhir-jpaserver-base/src/test/resources/dstu2/Conformance-server.json @@ -0,0 +1,1689 @@ +{ + "resourceType": "Conformance", + "id": "server", + "text": { + "status": "generated", + "div": "
\n\t\t\tArgonaut Data Query Implementation Guide Server\n\t\t\t
\n\t\t\t

\n\t\t\t\tFHIR Version: \n\t\t\t\t1.0.2\n\t\t\t\t
\n\t\t\t\tSupported formats: \n\t\t\t\txml\n\t\t\t\t, \n\t\t\t\tjson\n\t\t\t\t
\n\t\t\t\tPublished: \n\t\t\t\t2016-12-15\n\t\t\t\t
\n\t\t\t\tPublished by: \n\t\t\t\tArgonaut Project\n\t\t\t

\n\t\t\t

\n\t\t\t\tThis profile defines the expected capabilities of a Argonaut Data Query server when conforming to the Argonaut Data Query IG The conformance resource includes the complete list of actual profiles, RESTful operations, and search parameters supported by Argonaut Data Query Servers. Servers have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.\n\t\t\t

\n\t\t\t
\n\t\t\t

\n\t\t\t\tRESTful Behavior\n\t\t\t

\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\tDescription: \n\t\t\t\t

\n\t\t\t\t\tThe Argonaut Data Query Server SHALL:\n\t\t\t\t

\n\t\t\t\t
    \n\t\t\t\t\t
  1. Support the Argonaut Data Query Patient resource profile.
  2. \n\t\t\t\t\t
  3. Support at least one additional resource profile from the list of Argonaut Data Query Profiles
  4. \n\t\t\t\t\t
  5. Implement REST behavior according to the FHIR specification
  6. \n\t\t\t\t\t
  7. Support json resource formats for all Argonaut Data Query interactions.
  8. \n\t\t\t\t\t
  9. Identify the Argonaut Data Query profile(s) supported as part of the FHIR Meta profile attribute for each instance.
  10. \n\t\t\t\t\t
  11. Declare a Conformance identifying the list of profiles, operations, search parameter supported.
  12. \n\t\t\t\t
\n\t\t\t\t

\n\t\t\t\t\tThe Argonaut Data Query Server SHOULD:\n\t\t\t\t

\n\t\t\t\t
    \n\t\t\t\t\t
  1. Support xml resource formats for all Argonaut Data Query interactions.
  2. \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\tSecurity: \n\t\t\t\t

\n\t\t\t\t\tArgonaut Data Query Servers SHALL\n\t\t\t\t

\n\t\t\t\t
    \n\t\t\t\t\t
  1. implement the security requirements documented in this guide
  2. \n\t\t\t\t\t
  3. A server has ensured that every API request includes a valid Authorization token, supplied via: Authorization: Bearer {server-specific-token-here}\n\t\t\t\t\t
  4. \n\t\t\t\t\t
  5. A server has rejected any unauthorized requests by returning an HTTP 401 Unauthorized response code.
  6. \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t\tSupported Operations: \n\t\t\tMAY\n\t\t\t Support \n\t\t\t\n\t\t\t\tdocref\n\t\t\t\n\t\t\t

\n\t\t\t\tProfile Summary:\n\t\t\t

\n\t\t\t

\n\t\t\t\t
\n\t\t\t\tAll servers \n\t\t\t\tSHALL\n\t\t\t\t make available the \n\t\t\t\t\n\t\t\t\t\tread\n\t\t\t\t\n\t\t\t\t and \n\t\t\t\t\n\t\t\t\t\tsearch-type\n\t\t\t\t\n\t\t\t\t interactions for the Argonaut Profiles the server chooses to support.\n\t\t\t\t
\n\t\t\t\tAll servers \n\t\t\t\tSHOULD\n\t\t\t\t make available the \n\t\t\t\t\n\t\t\t\t\tvread\n\t\t\t\t\n\t\t\t\t and \n\t\t\t\t\n\t\t\t\t\thistory-instance\n\t\t\t\t\n\t\t\t\t interactions for the Argonaut Profiles the server chooses to support.\n\t\t\t\t
\n\t\t\t

\n\t\t\t
\n\t\t\t

\n\t\t\t\tSummary of Argonaut Profile search criteria. Specific server search capabilities are described in detail below in each of the resource sections.\n\t\t\t

\n\t\t\t
\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t\t\t\t\t\tResource Type\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSupported Profiles\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSupported Searches\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSupported Includes\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tPatient\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tfamily\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tgiven\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tidentifier\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tgender\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tbirthdate\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tgender\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tbirthdate\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tfamily\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tgender\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tgiven\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tgender\n\t\t\t\t\t\t
 
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tAllergyIntolerance\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
 
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tCarePlan\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tstatus\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tstatus\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tstatus\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t
 
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tCondition\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tclinicalstatus\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tclinicalstatus\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t
 
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tDevice\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
 
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tDocumentReference\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tperiod\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\ttype\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\ttype\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tperiod\n\t\t\t\t\t\t
 
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tGoal\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t
 
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tImmunization\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
 
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tDiagnosticReport\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tcode\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tcode\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tcode\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t
 
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tMedication\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
 
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tMedicationStatement\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tMedicationStatement.medicationReference\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tMedicationOrder\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tMedicationOrder.medicationReference\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tObservation\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tcode\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tcode\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tcode\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t
 
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tProcedure\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t, \n\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t + \n\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t
 
\n\t\t\t
\n\t\t\t

\n\t\t\t\tResource  Details:\n\t\t\t

\n\t\t\t
\n\t\t\t
    \n\t\t\t\t
  1. \n\t\t\t\t\tResource Type: \n\t\t\t\t\t\n\t\t\t\t\t\tPatient\n\t\t\t\t\t\n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Profiles:  \n\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSummary of Argonaut Data Query Search Criteria for StructureDefinition-argo-patient\n\t\t\t\t\t

    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • A server is capable of returning a patient using GET [base]/Patient/[id].
    • \n\t\t\t\t\t\t
    • A server returns valid FHIR Patient resources according to the Data Access Framework (DAF) Patient Profile..
    • \n\t\t\t\t\t\t
    • A server has exposed a FHIR Patient search endpoint supporting at a minimum the following search parameters:
        \n\t\t\t\t\t\t\t\t
      • identifier
      • \n\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    • A server has exposed a FHIR Patient search endpoint supporting at a minimum the following search parameters when at least 2 (example name and gender) are present:
        \n\t\t\t\t\t\t\t\t
      • name
      • \n\t\t\t\t\t\t\t\t
      • gender
      • \n\t\t\t\t\t\t\t\t
      • birthdate
      • \n\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t
    • \n\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\tSearch Parameters:\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tConformance\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tParameter\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tType\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tModifiers\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tstring\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tfamily\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tstring\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tgiven\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tstring\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tidentifier\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\ttoken\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tgender\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\ttoken\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tbirthdate\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Search Combinations:\n\t\t\t\t\t\tname\n\t\t\t\t\t\t + \n\t\t\t\t\t\tgender\n\t\t\t\t\t\t, \n\t\t\t\t\t\tname\n\t\t\t\t\t\t + \n\t\t\t\t\t\tbirthdate\n\t\t\t\t\t\t, \n\t\t\t\t\t\tfamily\n\t\t\t\t\t\t + \n\t\t\t\t\t\tgender\n\t\t\t\t\t\t, \n\t\t\t\t\t\tgiven\n\t\t\t\t\t\t + \n\t\t\t\t\t\tgender\n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t


    \n\t\t\t\t
  2. \n\t\t\t\t
  3. \n\t\t\t\t\tResource Type: \n\t\t\t\t\t\n\t\t\t\t\t\tAllergyIntolerance\n\t\t\t\t\t\n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Profiles:  \n\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSummary of Argonaut Data Query Search Criteria for StructureDefinition-argo-allergyintolerance\n\t\t\t\t\t

    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • A server is capable of returning a patient’s allergies using GET /AllergyIntolerance?patient=[id].
    • \n\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\tSearch Parameters:\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tConformance\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tParameter\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tType\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tModifiers\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\treference\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t


    \n\t\t\t\t
  4. \n\t\t\t\t
  5. \n\t\t\t\t\tResource Type: \n\t\t\t\t\t\n\t\t\t\t\t\tCarePlan\n\t\t\t\t\t\n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Profiles:  \n\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSummary of Argonaut Data Query Search Criteria for StructureDefinition-argo-careplan\n\t\t\t\t\t

    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • A server is capable of returning all of a patient’s Assessment and Plan of Treatment information using GET /CarePlan?patient=[id]&category=assess-plan.
    • \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t

      A server SHOULD be capable of returning a patient’s Assessment and Plan of Treatment information over a specified time period using GET /CarePlan?patient=[id]&category=assess-plan&date=[date].

      \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    • A server SHOULD be capable returning all of a patient’s active Assessment and Plan of Treatment information using GET /CarePlan?patient=[id]&category=assess-plan&status=active.
    • \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t

      A server SHOULD be capable returning a patient’s active Assessment and Plan of Treatment information over a specified time period using GET /CarePlan?patient=[id]&category=assess-plan&status=active&date=[date].

      \n\t\t\t\t\t\t
    • \n\t\t\t\t\t
    \n\t\t\t\t\t

    Summary of Argonaut Search Criteria for StructureDefinition-argo-careteam

    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • A server is capable of returning a patients current care team members using GET[base]/CarePlan?patient=[id]&category=careteam&status=active
    • \n\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\tSearch Parameters:\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tConformance\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tParameter\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tType\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tModifiers\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\treference\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\ttoken\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tstatus\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\ttoken\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t

    The server SHALL support the date search modifiers ‘ge’,‘le’,‘gt','lt' for this profile

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Search Combinations:\n\t\t\t\t\t\tpatient\n\t\t\t\t\t\t + \n\t\t\t\t\t\tcategory\n\t\t\t\t\t\t, \n\t\t\t\t\t\tpatient\n\t\t\t\t\t\t + \n\t\t\t\t\t\tcategory\n\t\t\t\t\t\t + \n\t\t\t\t\t\tdate\n\t\t\t\t\t\t, \n\t\t\t\t\t\tpatient\n\t\t\t\t\t\t + \n\t\t\t\t\t\tcategory\n\t\t\t\t\t\t + \n\t\t\t\t\t\tstatus\n\t\t\t\t\t\t, \n\t\t\t\t\t\tpatient\n\t\t\t\t\t\t + \n\t\t\t\t\t\tcategory\n\t\t\t\t\t\t + \n\t\t\t\t\t\tstatus\n\t\t\t\t\t\t + \n\t\t\t\t\t\tdate\n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t


    \n\t\t\t\t
  6. \n\t\t\t\t
  7. \n\t\t\t\t\tResource Type: \n\t\t\t\t\t\n\t\t\t\t\t\tCondition\n\t\t\t\t\t\n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Profiles:  \n\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSummary of Argonaut Data Query Search Criteria for StructureDefinition-argo-condition\n\t\t\t\t\t

    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t

      A server is capable of returning a patient’s conditions list using GET/Condition?patient=[id].

      \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    • A server SHOULD be capable returning all of a patient’s active problems and health concerns using ‘GET /Condition?patient=[id]&clinicalstatus=active,recurrance,remission’
    • \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t

      A server SHOULD be capable returning all of a patient’s problems or all of patient’s health concerns using ‘GET /Condition?patient=[id]&category=[problem|health-concern]’

      \n\t\t\t\t\t\t
    • \n\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\tSearch Parameters:\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tConformance\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tParameter\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tType\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tModifiers\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\treference\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\ttoken\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tclinicalstatus\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\ttoken\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Search Combinations:\n\t\t\t\t\t\tpatient\n\t\t\t\t\t\t + \n\t\t\t\t\t\tclinicalstatus\n\t\t\t\t\t\t, \n\t\t\t\t\t\tpatient\n\t\t\t\t\t\t + \n\t\t\t\t\t\tcategory\n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t


    \n\t\t\t\t
  8. \n\t\t\t\t
  9. \n\t\t\t\t\tResource Type: \n\t\t\t\t\t\n\t\t\t\t\t\tDevice\n\t\t\t\t\t\n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Profiles:  \n\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSummary of Argonaut Data Query Search Criteria for StructureDefinition-argo-device\n\t\t\t\t\t

    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • A server is capable of returning all Unique device identifier(s)(UDI) for a patient’s implanted device(s) using GET /Device?patient=[id].
    • \n\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\tSearch Parameters:\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tConformance\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tParameter\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tType\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tModifiers\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\treference\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t


    \n\t\t\t\t
  10. \n\t\t\t\t
  11. \n\t\t\t\t\tResource Type: \n\t\t\t\t\t\n\t\t\t\t\t\tDocumentReference\n\t\t\t\t\t\n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Profiles:  \n\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    Search Criteria for StructureDefinition-argo-documentreference

    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • To fetch document references, the Server SHALL support either:
        \n\t\t\t\t\t\t\t\t
      • a direct query for DocumentReference resources as described here
      • \n\t\t\t\t\t\t\t\t
      • or the $docref operationoperation
      • \n\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t
    • \n\t\t\t\t\t
    \n\t\t\t\t\t

    The Client SHALL support both methods.

    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • If supporting a direct query, a server SHALL be capable of returning at least the most recent CCD document references and MAY provide most recent references to other document types for a patient using:GET [base]/DocumentReference/$docref?patient=[id]
    • \n\t\t\t\t\t\t
    • If supporting a direct query, A server SHOULD be capable of returning references to CCD documents and MAY provide references to other document types for a patient searched by type and/or date using:GET [base]/DocumentReference/$docref?patient=[id]{&type=[type]}{&period=[date]}
    • \n\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\tSearch Parameters:\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tConformance\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tParameter\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tType\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tModifiers\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\treference\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tperiod\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t

    The server SHALL support the date search modifiers ‘ge’,‘le’,‘gt','lt' for this profile

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\ttype\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\ttoken\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Search Combinations:\n\t\t\t\t\t\tpatient\n\t\t\t\t\t\t + \n\t\t\t\t\t\ttype\n\t\t\t\t\t\t + \n\t\t\t\t\t\tperiod\n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t


    \n\t\t\t\t
  12. \n\t\t\t\t
  13. \n\t\t\t\t\tResource Type: \n\t\t\t\t\t\n\t\t\t\t\t\tGoal\n\t\t\t\t\t\n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Profiles:  \n\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSummary of Argonaut Data Query Search Criteria for StructureDefinition-argo-device\n\t\t\t\t\t

    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • A server is capable of returning all of a patient’s goals using GET [base]/Goal?patient=[id].
    • \n\t\t\t\t\t\t
    • A server is capable of returning all of all of a patient’s goals over a specified time period using GET [base]/Goal?patient=[id]&date=[date]{&date=[date]}.
    • \n\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\tSearch Parameters:\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tConformance\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tParameter\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tType\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tModifiers\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\treference\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t

    The server SHALL support the date search modifiers ‘ge’,‘le’,‘gt','lt' for this profile

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Search Combinations:\n\t\t\t\t\t\tpatient\n\t\t\t\t\t\t + \n\t\t\t\t\t\tdate\n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t


    \n\t\t\t\t
  14. \n\t\t\t\t
  15. \n\t\t\t\t\tResource Type: \n\t\t\t\t\t\n\t\t\t\t\t\tImmunization\n\t\t\t\t\t\n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Profiles:  \n\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSummary of Argonaut Data Query Search Criteria for StructureDefinition-argo-immunization\n\t\t\t\t\t

    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • A client has connected to a server and fetched all immunizations for a patient using GET /Immunization?patient=[id].
    • \n\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\tSearch Parameters:\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tConformance\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tParameter\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tType\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tModifiers\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\treference\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t


    \n\t\t\t\t
  16. \n\t\t\t\t
  17. \n\t\t\t\t\tResource Type: \n\t\t\t\t\t\n\t\t\t\t\t\tDiagnosticReport\n\t\t\t\t\t\n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Profiles:  \n\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSummary of Argonaut Data Query Search Criteria for StructureDefinition-argo-diagnosticreport\n\t\t\t\t\t

    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • A server is capable of returning all of a patient’s laboratory diagnostic reports queried by category using GET [base]/DiagnosticReport?patient=[id]&category=LAB.
    • \n\t\t\t\t\t\t
    • A server is capable of returning all of a patient’s laboratory diagnostic reports queried by category code and date range using GET [base]/DiagnosticReport?patient=[id]&category=LAB&date=[date]{&date=[date]}.
    • \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t

      A server is capable of returning all of a patient’s laboratory diagnostic reports queried by category and code using GET [base]/DiagnosticReport?patient=[id]&category=LAB&code=[LOINC].

      \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t

      A server SHOULD be capable of returning all of a patient’s laboratory diagnostic reports queried by category and one or more codes and date range using GET [base]/DiagnosticReport?patient=[id]&category=LAB&code=[LOINC1{,LOINC2,LOINC3,…}]&date=[date]{&date=[date]}.

      \n\t\t\t\t\t\t
    • \n\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\tSearch Parameters:\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tConformance\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tParameter\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tType\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tModifiers\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\treference\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\ttoken\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tcode\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\ttoken\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t

    The server SHALL support the date search modifiers ‘ge’,‘le’,‘gt','lt' for this profile

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Search Combinations:\n\t\t\t\t\t\tpatient\n\t\t\t\t\t\t + \n\t\t\t\t\t\tcategory\n\t\t\t\t\t\t, \n\t\t\t\t\t\tpatient\n\t\t\t\t\t\t + \n\t\t\t\t\t\tcategory\n\t\t\t\t\t\t + \n\t\t\t\t\t\tdate\n\t\t\t\t\t\t, \n\t\t\t\t\t\tpatient\n\t\t\t\t\t\t + \n\t\t\t\t\t\tcategory\n\t\t\t\t\t\t + \n\t\t\t\t\t\tcode\n\t\t\t\t\t\t, \n\t\t\t\t\t\tpatient\n\t\t\t\t\t\t + \n\t\t\t\t\t\tcategory\n\t\t\t\t\t\t + \n\t\t\t\t\t\tcode\n\t\t\t\t\t\t + \n\t\t\t\t\t\tdate\n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t


    \n\t\t\t\t
  18. \n\t\t\t\t
  19. \n\t\t\t\t\tResource Type: \n\t\t\t\t\t\n\t\t\t\t\t\tMedication\n\t\t\t\t\t\n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Profiles:  \n\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    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 SHALL be supported.

    \n\t\t\t\t\t

    \n\t\t\t\t\tSearch Parameters:\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tConformance\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tParameter\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tType\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tModifiers\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t


    \n\t\t\t\t
  20. \n\t\t\t\t
  21. \n\t\t\t\t\tResource Type: \n\t\t\t\t\t\n\t\t\t\t\t\tMedicationStatement\n\t\t\t\t\t\n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Profiles:  \n\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSummary of Argonaut Data Query Search Criteria for StructureDefinition-argo-medicationstatement\n\t\t\t\t\t

    \n\t\t\t\t\t

    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 contained or an external resource. The server application can choose any one way or more than one method, but IF the an external reference to Medication is used, the server SHALL support the include parameter for searching this element. The client application must support both methods.

    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • A server is capable of returning a patient’s medications using one of or both
    • \n\t\t\t\t\t
    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    1. GET /MedicationStatement?patient=[id]
    2. \n\t\t\t\t\t\t
    3. GET /MedicationStatement?patient=[id]&_include=MedicationStatement:medication
    4. \n\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\tSearch Parameters:\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tConformance\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tParameter\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tType\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tModifiers\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\treference\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Includes: \n\t\t\t\t\t\tMedicationStatement.medicationReference\n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t


    \n\t\t\t\t
  22. \n\t\t\t\t
  23. \n\t\t\t\t\tResource Type: \n\t\t\t\t\t\n\t\t\t\t\t\tMedicationOrder\n\t\t\t\t\t\n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Profiles:  \n\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSummary of Argonaut Data Query Search Criteria for StructureDefinition-argo-MedicationOrder\n\t\t\t\t\t

    \n\t\t\t\t\t

    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 contained or an external resource. The server application can choose any one way or more than one method, but if the an external reference to Medication is used, the server SHALL support the include parameter for searching this element. The client application must support both methods.

    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • A server is capable of returning a patient’s medications using one of or both
    • \n\t\t\t\t\t
    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    1. GET /MedicationOrder?patient=[id]
    2. \n\t\t\t\t\t\t
    3. GET /MedicationOrder?patient=[id]&_include=MedicationOrder:medication
    4. \n\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\tSearch Parameters:\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tConformance\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tParameter\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tType\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tModifiers\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\treference\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Includes: \n\t\t\t\t\t\tMedicationOrder.medicationReference\n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t


    \n\t\t\t\t
  24. \n\t\t\t\t
  25. \n\t\t\t\t\tResource Type: \n\t\t\t\t\t\n\t\t\t\t\t\tObservation\n\t\t\t\t\t\n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Profiles:  \n\t\t\t\t\t\t
    \n\t\t\t\t\t

    .

    \n\t\t\t\t\t\tSummary of Argonaut Data Query Search Criteria for StructureDefinition-argo-observationresults\n\t\t\t\t\t

    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • A server is capable of returning all of a patient's laboratory results queried by category using GET [base]/Observation?patient=[id]&category=laboratory.
    • \n\t\t\t\t\t\t
    • A server is capable of returning all of a patient's laboratory results queried by category code and date range usingGET [base]/Observation?patient=[id]&category=laboratory&date=[date]{&date=[date]}.
    • \n\t\t\t\t\t\t
    • A server is capable of returning all of a patient's laboratory results queried by category and code using GET [base]/Observation?patient=[id]&category=laboratory&code=[LOINC].
    • \n\t\t\t\t\t\t
    • A server SHOULD be capable of returning all of a patient's laboratory results queried by category and one or more codes and date range using GET [base]/Observation?patient=[id]&category=laboratory&code=[LOINC1{,LOINC2,LOINC3,...}]&date=[date]{&date=[date]}.
    • \n\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSummary of Argonaut Data Query Search Criteria for StructureDefinition-argo-smokingstatus\n\t\t\t\t\t

    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • A server is capable of returning a a patient’s smoking status using GET [base]/Observation?patient=[id]&code=72166-2
    • \n\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSummary of Argonaut Data Query Search Criteria for StructureDefinition-argo-vitalsigns\n\t\t\t\t\t

    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • A server is capable of returning all of a patient’s vital signs that it supports using GET [base]/Observation?patient=[id]&category=vital-signs.
    • \n\t\t\t\t\t\t
    • A server is capable of returning all of a patient’s vital signs queried by date range using GET [base]/Observation?patient=[id]&category=vital-signs&date=[date]{&date=[date]}.
    • \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t

      A server is capable of returning any of a patient’s vital signs queried by one or more of the codes listed below using GET [base]/Observation?patient=[id]&code[vital sign LOINC{,LOINC2,LOINC3,…}].

      \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t

      A server SHOULD be capable of returning any of a patient’s vital signs queried by one or more of the codes listed below and date range using GET [base]/Observation?patient=[id]&code=[LOINC{,LOINC2…}]vital-signs&date=[date]{&date=[date]}.

      \n\t\t\t\t\t\t
    • \n\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\tSearch Parameters:\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tConformance\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tParameter\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tType\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tModifiers\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\treference\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tcategory\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\ttoken\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tcode\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\ttoken\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t

    The server SHALL support the date search modifiers ‘ge’,‘le’,‘gt','lt' for this profile

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Search Combinations:\n\t\t\t\t\t\tpatient\n\t\t\t\t\t\t + \n\t\t\t\t\t\tcategory\n\t\t\t\t\t\t, \n\t\t\t\t\t\tpatient\n\t\t\t\t\t\t + \n\t\t\t\t\t\tcategory\n\t\t\t\t\t\t + \n\t\t\t\t\t\tdate\n\t\t\t\t\t\t, \n\t\t\t\t\t\tpatient\n\t\t\t\t\t\t + \n\t\t\t\t\t\tcategory\n\t\t\t\t\t\t + \n\t\t\t\t\t\tcode\n\t\t\t\t\t\t, \n\t\t\t\t\t\tpatient\n\t\t\t\t\t\t + \n\t\t\t\t\t\tcategory\n\t\t\t\t\t\t + \n\t\t\t\t\t\tcode\n\t\t\t\t\t\t + \n\t\t\t\t\t\tdate\n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t


    \n\t\t\t\t
  26. \n\t\t\t\t
  27. \n\t\t\t\t\tResource Type: \n\t\t\t\t\t\n\t\t\t\t\t\tProcedure\n\t\t\t\t\t\n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Profiles:  \n\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSummary of Argonaut Data Query Search Criteria for StructureDefinition-argo-procedure\n\t\t\t\t\t

    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • A server is capable of returning a patient’s procedures using GET/Procedure?patient=[id].
    • \n\t\t\t\t\t\t
    • A server is capable of returning all of all of a patient’s procedures over a specified time period using GET /Procedure?patient=[id]&date=[date]{&date=[date]}.
    • \n\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\tSearch Parameters:\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tConformance\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tParameter\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tType\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tModifiers\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tpatient\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\treference\n\t\t\t\t\t\t\t\t 
    \n\t\t\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tdate\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t

    The server SHALL support the date search modifiers ‘ge’,‘le’,‘gt','lt' for this profile

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t\tSupported Search Combinations:\n\t\t\t\t\t\tpatient\n\t\t\t\t\t\t + \n\t\t\t\t\t\tdate\n\t\t\t\t\t

    \n\t\t\t\t\t

    \n\t\t\t\t\t


    \n\t\t\t\t
  28. \n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t
" + }, + "url": "http://fhir.org/guides/argonaut/Conformance/server", + "name": "Argonaut Data Query Implementation Guide Server", + "status": "draft", + "publisher": "Argonaut Project", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://argonautwiki.hl7.org" + } + ] + } + ], + "date": "2016-12-15", + "description": "This profile defines the expected capabilities of a Argonaut Data Query server when conforming to the Argonaut Data Query IG The conformance resource includes the complete list of actual profiles, RESTful operations, and search parameters supported by Argonaut Data Query Servers. Servers have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", + "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": "server", + "documentation": "

The Argonaut Data Query Server SHALL:

  1. Support the Argonaut Data Query Patient resource profile.
  2. Support at least one additional resource profile from the list of Argonaut Data Query Profiles
  3. Implement REST behavior according to the FHIR specification
  4. Support json resource formats for all Argonaut Data Query interactions.
  5. Identify the Argonaut Data Query profile(s) supported as part of the FHIR Meta profile attribute for each instance.
  6. Declare a Conformance identifying the list of profiles, operations, search parameter supported.

The Argonaut Data Query Server SHOULD:

  1. Support xml resource formats for all Argonaut Data Query interactions.
", + "security": { + "description": "

Argonaut Data Query Servers SHALL

  1. implement the security requirements documented in this guide
  2. A server has ensured that every API request includes a valid Authorization token, supplied via: Authorization: Bearer {server-specific-token-here}
  3. A server has rejected any unauthorized requests by returning an HTTP 401 Unauthorized response code.
" + }, + "resource": [ + { + "extension": [ + { + "url": "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation", + "valueMarkdown": "

Summary of Argonaut Data Query Search Criteria for StructureDefinition-argo-patient

  • A server is capable of returning a patient using GET [base]/Patient/[id].
  • A server returns valid FHIR Patient resources according to the Data Access Framework (DAF) Patient Profile..
  • A server has exposed a FHIR Patient search endpoint supporting at a minimum the following search parameters:
    • identifier
  • A server has exposed a FHIR Patient search endpoint supporting at a minimum the following search parameters when at least 2 (example name and gender) are present:
    • name
    • gender
    • birthdate
" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "name" + }, + { + "url": "required", + "valueString": "gender" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "name" + }, + { + "url": "required", + "valueString": "birthdate" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "family" + }, + { + "url": "required", + "valueString": "gender" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "given" + }, + { + "url": "required", + "valueString": "gender" + } + ] + } + ], + "type": "Patient", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "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": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific Argonaut Data Query patients by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "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": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a Argonaut Data Query patient instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "family", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-family", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "given", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-given", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "gender", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-gender", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "birthdate", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-birthdate", + "type": "date" + } + ] + }, + { + "extension": [ + { + "url": "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation", + "valueMarkdown": "

Summary of Argonaut Data Query Search Criteria for StructureDefinition-argo-allergyintolerance

  • A server is capable of returning a patient’s allergies using GET /AllergyIntolerance?patient=[id].
" + } + ], + "type": "AllergyIntolerance", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "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": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific Argonaut Data Query AllergyIntolerance by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "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": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a Argonaut Data Query AllergyIntolerance instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/AllergyIntolerance-Patient", + "type": "reference" + } + ] + }, + { + "extension": [ + { + "url": "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation", + "valueMarkdown": "

Summary of Argonaut Data Query Search Criteria for StructureDefinition-argo-careplan

  • A server is capable of returning all of a patient’s Assessment and Plan of Treatment information using GET /CarePlan?patient=[id]&category=assess-plan.
  • A server SHOULD be capable of returning a patient’s Assessment and Plan of Treatment information over a specified time period using GET /CarePlan?patient=[id]&category=assess-plan&date=[date].

  • A server SHOULD be capable returning all of a patient’s active Assessment and Plan of Treatment information using GET /CarePlan?patient=[id]&category=assess-plan&status=active.
  • A server SHOULD be capable returning a patient’s active Assessment and Plan of Treatment information over a specified time period using GET /CarePlan?patient=[id]&category=assess-plan&status=active&date=[date].

Summary of Argonaut Search Criteria for StructureDefinition-argo-careteam

  • A server is capable of returning a patients current care team members using GET[base]/CarePlan?patient=[id]&category=careteam&status=active
" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + }, + { + "url": "required", + "valueString": "date" + } + ] + } + ], + "type": "CarePlan", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "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": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific Argonaut Data Query careplan by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "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": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a Argonaut Data Query careplan instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/CarePlan-Patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/SearchParameter/CarePlan-Category", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/SearchParameter/CarePlan-Status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/SearchParameter/CarePlan-Date", + "type": "date", + "documentation": "

The server SHALL support the date search modifiers ‘ge’,‘le’,‘gt','lt' for this profile

" + } + ] + }, + { + "extension": [ + { + "url": "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation", + "valueMarkdown": "

Summary of Argonaut Data Query Search Criteria for StructureDefinition-argo-condition

  • A server is capable of returning a patient’s conditions list using GET/Condition?patient=[id].

  • A server SHOULD be capable returning all of a patient’s active problems and health concerns using ‘GET /Condition?patient=[id]&clinicalstatus=active,recurrance,remission’
  • A server SHOULD be capable returning all of a patient’s problems or all of patient’s health concerns using ‘GET /Condition?patient=[id]&category=[problem|health-concern]’

" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "clinicalstatus" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ] + } + ], + "type": "Condition", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "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": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific Argonaut Data Query condition by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "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": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a Argonaut Data Query condition instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/Condition-Patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/SearchParameter/Condition-Category", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "name": "clinicalstatus", + "definition": "http://hl7.org/fhir/SearchParameter/Condition-ClinicalStatus", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation", + "valueMarkdown": "

Summary of Argonaut Data Query Search Criteria for StructureDefinition-argo-device

  • A server is capable of returning all Unique device identifier(s)(UDI) for a patient’s implanted device(s) using GET /Device?patient=[id].
" + } + ], + "type": "Device", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "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": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific Argonaut Data Query device by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "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": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a Argonaut Data Query device instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/Device-Patient", + "type": "reference" + } + ] + }, + { + "extension": [ + { + "url": "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation", + "valueMarkdown": "

Search Criteria for StructureDefinition-argo-documentreference

  • To fetch document references, the Server SHALL support either:
    • a direct query for DocumentReference resources as described here
    • or the $docref operation operation

The Client SHALL support both methods.

  • If supporting a direct query, a server SHALL be capable of returning at least the most recent CCD document references and MAY provide most recent references to other document types for a patient using:GET [base]/DocumentReference/$docref?patient=[id]
  • If supporting a direct query, A server SHOULD be capable of returning references to CCD documents and MAY provide references to other document types for a patient searched by type and/or date using:GET [base]/DocumentReference/$docref?patient=[id]{&type=[type]}{&period=[date]}
" + }, + { + "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" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/DocumentReference-Patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "name": "period", + "definition": "http://hl7.org/fhir/SearchParameter/DocumentReference-Period", + "type": "date", + "documentation": "

The server SHALL support the date search modifiers ‘ge’,‘le’,‘gt','lt' for this profile

" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/SearchParameter/DocumentReference-Type", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation", + "valueMarkdown": "

Summary of Argonaut Data Query Search Criteria for StructureDefinition-argo-device

  • A server is capable of returning all of a patient’s goals using GET [base]/Goal?patient=[id].
  • A server is capable of returning all of all of a patient’s goals over a specified time period using GET [base]/Goal?patient=[id]&date=[date]{&date=[date]}.
" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "date" + } + ] + } + ], + "type": "Goal", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "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": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific Argonaut Data Query Goal by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "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": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a Argonaut Data Query Goal instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/Goal-Patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/SearchParameter/Goal-Date", + "type": "date", + "documentation": "

The server SHALL support the date search modifiers ‘ge’,‘le’,‘gt','lt' for this profile

" + } + ] + }, + { + "extension": [ + { + "url": "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation", + "valueMarkdown": "

Summary of Argonaut Data Query Search Criteria for StructureDefinition-argo-immunization

  • A client has connected to a server and fetched all immunizations for a patient using GET /Immunization?patient=[id].
" + } + ], + "type": "Immunization", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "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": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific Argonaut Data Query immunization by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "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": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a Argonaut Data Query immunization instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/Immunization-Patient", + "type": "reference" + } + ] + }, + { + "extension": [ + { + "url": "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation", + "valueMarkdown": "

Summary of Argonaut Data Query Search Criteria for StructureDefinition-argo-diagnosticreport

  • A server is capable of returning all of a patient’s laboratory diagnostic reports queried by category using GET [base]/DiagnosticReport?patient=[id]&category=LAB.
  • A server is capable of returning all of a patient’s laboratory diagnostic reports queried by category code and date range using GET [base]/DiagnosticReport?patient=[id]&category=LAB&date=[date]{&date=[date]}.
  • A server is capable of returning all of a patient’s laboratory diagnostic reports queried by category and code using GET [base]/DiagnosticReport?patient=[id]&category=LAB&code=[LOINC].

  • A server SHOULD be capable of returning all of a patient’s laboratory diagnostic reports queried by category and one or more codes and date range using GET [base]/DiagnosticReport?patient=[id]&category=LAB&code=[LOINC1{,LOINC2,LOINC3,…}]&date=[date]{&date=[date]}.

" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "code" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ] + } + ], + "type": "DiagnosticReport", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "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": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific Argonaut Data Query diagnosticreport by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "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": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a Argonaut Data Query diagnosticreport instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/DiagnosticReport-Patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/SearchParameter/DiagnosticReport-Category", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/SearchParameter/DiagnosticReport-Code", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/SearchParameter/DiagnosticReport-Date", + "type": "date", + "documentation": "

The server SHALL support the date search modifiers ‘ge’,‘le’,‘gt','lt' for this profile

" + } + ] + }, + { + "extension": [ + { + "url": "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation", + "valueMarkdown": "

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 SHALL be supported.

" + } + ], + "type": "Medication", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "IF the Medication Resource is used in a MedicationStatement or a MedicationOrder. Allows discovery of existing Argonaut Data Query Medication resources using different search criteria." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "IF the Medication Resource is used in a MedicationStatement or a MedicationOrder. Allows retrieval of a specific Argonaut Data Query Medication by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to Argonaut Data Query Medication 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 Data Query Medication instance" + } + ] + }, + { + "extension": [ + { + "url": "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation", + "valueMarkdown": "

Summary of Argonaut Data Query Search Criteria for StructureDefinition-argo-medicationstatement

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 contained or an external resource. The server application can choose any one way or more than one method, but IF the an external reference to Medication is used, the server SHALL support the include parameter for searching this element. The client application must support both methods.

  • A server is capable of returning a patient’s medications using one of or both
  1. GET /MedicationStatement?patient=[id]
  2. GET /MedicationStatement?patient=[id]&_include=MedicationStatement:medication
" + } + ], + "type": "MedicationStatement", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "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": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific Argonaut Data Query medicationstatement by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "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": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a Argonaut Data Query medicationstatement instance" + } + ], + "searchInclude": [ + "MedicationStatement.medicationReference" + ], + "_searchInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "MAY" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/MedicationStatement-Patient", + "type": "reference" + } + ] + }, + { + "extension": [ + { + "url": "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation", + "valueMarkdown": "

Summary of Argonaut Data Query Search Criteria for StructureDefinition-argo-MedicationOrder

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 contained or an external resource. The server application can choose any one way or more than one method, but if the an external reference to Medication is used, the server SHALL support the include parameter for searching this element. The client application must support both methods.

  • A server is capable of returning a patient’s medications using one of or both
  1. GET /MedicationOrder?patient=[id]
  2. GET /MedicationOrder?patient=[id]&_include=MedicationOrder:medication
" + } + ], + "type": "MedicationOrder", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "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": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific Argonaut Data Query MedicationOrder by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "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": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a Argonaut Data Query MedicationOrder instance" + } + ], + "searchInclude": [ + "MedicationOrder.medicationReference" + ], + "_searchInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "MAY" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/MedicationOrder-Patient", + "type": "reference" + } + ] + }, + { + "extension": [ + { + "url": "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation", + "valueMarkdown": ".

Summary of Argonaut Data Query Search Criteria for StructureDefinition-argo-observationresults

  • A server is capable of returning all of a patient’s laboratory results queried by category using GET [base]/Observation?patient=[id]&category=laboratory.
  • A server is capable of returning all of a patient’s laboratory results queried by category code and date range usingGET [base]/Observation?patient=[id]&category=laboratory&date=[date]{&date=[date]}.
  • A server is capable of returning all of a patient’s laboratory results queried by category and code using GET [base]/Observation?patient=[id]&category=laboratory&code=[LOINC].
  • A server SHOULD be capable of returning all of a patient’s laboratory results queried by category and one or more codes and date range using GET [base]/Observation?patient=[id]&category=laboratory&code=[LOINC1{,LOINC2,LOINC3,…}]&date=[date]{&date=[date]}.

Summary of Argonaut Data Query Search Criteria for StructureDefinition-argo-smokingstatus

  • A server is capable of returning a a patient’s smoking status using GET [base]/Observation?patient=[id]&code=72166-2

Summary of Argonaut Data Query Search Criteria for StructureDefinition-argo-vitalsigns

  • A server is capable of returning all of a patient’s vital signs that it supports using GET [base]/Observation?patient=[id]&category=vital-signs.
  • A server is capable of returning all of a patient’s vital signs queried by date range using GET [base]/Observation?patient=[id]&category=vital-signs&date=[date]{&date=[date]}.
  • A server is capable of returning any of a patient’s vital signs queried by one or more of the codes listed below using GET [base]/Observation?patient=[id]&code[vital sign LOINC{,LOINC2,LOINC3,…}].

  • A server SHOULD be capable of returning any of a patient’s vital signs queried by one or more of the codes listed below and date range using GET [base]/Observation?patient=[id]&code=[LOINC{,LOINC2…}]vital-signs&date=[date]{&date=[date]}.

" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "code" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ] + } + ], + "type": "Observation", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing Argonaut Data Query results observation, smokingstatus, and vitals signs observation using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific Argonaut Data Query results observation, smokingstatus, and vitals signs observation by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to Argonaut Data Query results observation, smokingstatus, and vitals signs observation 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 Data Query results observation, smokingstatus, and vitals signs observation instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/Observation-Patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/SearchParameter/Organization-Category", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/SearchParameter/Organization-Code", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/SearchParameter/Organization-Date", + "type": "date", + "documentation": "

The server SHALL support the date search modifiers ‘ge’,‘le’,‘gt','lt' for this profile

" + } + ] + }, + { + "extension": [ + { + "url": "http://fhir.org/guides/argonaut/StructureDefinition/argo-resource-documentation", + "valueMarkdown": "

Summary of Argonaut Data Query Search Criteria for StructureDefinition-argo-procedure

  • A server is capable of returning a patient’s procedures using GET/Procedure?patient=[id].
  • A server is capable of returning all of all of a patient’s procedures over a specified time period using GET /Procedure?patient=[id]&date=[date]{&date=[date]}.
" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "date" + } + ] + } + ], + "type": "Procedure", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "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": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific Argonaut Data Query procedure by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHOULD" + } + ], + "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": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a Argonaut Data Query procedure instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/Procedure-Patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "SHALL" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/SearchParameter/Procedure-Date", + "type": "date", + "documentation": "

The server SHALL support the date search modifiers ‘ge’,‘le’,‘gt','lt' for this profile

" + } + ] + } + ], + "operation": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/conformance-expectation", + "valueCode": "MAY" + } + ], + "name": "docref", + "definition": { + "reference": "http://fhir.org/guides/argonaut/OperationDefinition/docref", + "display": "Argonaut Get DocumentReferences" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/hapi-fhir-jpaserver-searchparam/src/main/java/ca/uhn/fhir/jpa/searchparam/extractor/LogicalReferenceHelper.java b/hapi-fhir-jpaserver-searchparam/src/main/java/ca/uhn/fhir/jpa/searchparam/extractor/LogicalReferenceHelper.java index 94f6f89894e..a381ff1957a 100644 --- a/hapi-fhir-jpaserver-searchparam/src/main/java/ca/uhn/fhir/jpa/searchparam/extractor/LogicalReferenceHelper.java +++ b/hapi-fhir-jpaserver-searchparam/src/main/java/ca/uhn/fhir/jpa/searchparam/extractor/LogicalReferenceHelper.java @@ -46,6 +46,15 @@ public class LogicalReferenceHelper { } } + + /* + * Account for common logical references + */ + + if (theId.getValue().startsWith("http://fhir.org/guides/argonaut/")) { + return true; + } + return false; }