This result is being rendered in HTML for easy viewing. You may access this content as Raw JSON or Raw XML, or view this content in HTML JSON or HTML XML. Response generated in 35ms.

HTTP 200 OK

Response Headers

Date: Tue, 20 Oct 2020 03:00:50 GMT
X-Powered-By: HAPI FHIR 5.2.0-SNAPSHOT REST Server (FHIR Server; FHIR 4.0.1/R4; Raccoon Nation Edition)
Content-Type: application/fhir+xml;charset=utf-8
X-Request-ID: fGYDBNjFUqKFIPYy

Response Body

<Bundle xmlns="http://hl7.org/fhir">
<id value="eb881dd6-a960-45f6-8b2c-139f483a6109"/>
<meta>
<lastUpdated value="2020-10-20T03:00:50.270+00:00"/>
</meta>
<type value="searchset"/>
<total value="10"/>
<link>
<relation value="self"/>
<url value="https://smilecdr.com/hapi-fhir/blog/fhir/baseR4/Communication/?_format=html%2Fxml"/>
</link>
<entry>
<fullUrl value="https://smilecdr.com/hapi-fhir/blog/fhir/baseR4/Communication/20200813_hapi_fhir_5_1_0"/>
<resource>
<Communication xmlns="http://hl7.org/fhir">
<id value="20200813_hapi_fhir_5_1_0"/>
<meta>
<versionId value="1"/>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="Release"/>
</tag>
</meta>
<language value="en"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>It's August, so it's time for our next quarterly relese: HAPI FHIR 5.2.0 (Codename: Manticore).</p>
<p>Notable changes in this release include:</p>
<ul>
<li>
<p>An XSS vulnerability has been fixed in the testpage overlay project. This issue affects only the testpage overlay module, but users of this module should upgrade immediately. A CVE number for this issue has been requested and will be updated here when it is assigned.</p>
</li>
<li>
<p>Support for the new FHIR NPM Package spec has been added. Currently this support is limited to JPA servers, and support should be added to plain servers in the next release. Packages can be imported on startup, either by supplying NPM files locally or by downloading them automatically from an NPM server such as
<a href="https://packages.fhir.org">packages.fhir.org</a>. Package contents (the StructureDefinition, CodeSystem, ValueSet, etc. resources in the package) can be installed into the repository, or can be stored in a dedicated set of tables and made available to the validator without actually being installed in the repository.
</p>
</li>
<li>
<p>Support for the
<code>Observation/$lastn</code> operation has been implemented thanks to a partnership with LHNCBC/NIH. This operation uses ElasticSearch to support querying for recent Observations over a set of test codes for one or more patients in a very efficient way.
</p>
</li>
<li>
<p>The FHIR PATCH operation now supports
<a href="https://www.hl7.org/fhir/fhirpatch.html">FHIRPatch</a> in addition to the already supported XML and JSON Patch specs. FHIRPatch is a very expressive mechanism for creating patches and can be used to supply very precise patches.
</p>
</li>
<li>
<p>A new operatiion called
<code>$diff</code> has been added. Diff can be used too generate a FHIRPatch diff between two resrouces, or between two versions of the same resource. For example: http://hapi.fhir.org/baseR4/Patient/example/$diff
</p>
</li>
<li>
<p>Several performance problems and occasional failures in the resource expunge operation have been corrected</p>
</li>
<li>
<p>The memory use for Subscription delivery queues has been reduced</p>
</li>
<li>
<p>Snapshot generaton now uses a single snapshot generator codebase for generating snapshots across all versions of FHIR. This makes ongoing maintenance much easier and fixes a number of version specific bugs.</p>
</li>
<li>
<p>The maximum cascade depth for cascading deletes is now configurable.</p>
</li>
<li>
<p>AuthorizationInterceptor can now fully authorize GraphQL calls, including allowing/blocking individual resources returned by the graph.</p>
</li>
<li>
<p>GraphQL now supports POST form (thanks to Kholilul Islam!)</p>
</li>
<li>
<p>The LOINC uploader now supports LOINC 2.68</p>
</li>
<li>
<p>A new batch job framework has been introduced, leveraging the Spring Batch library. Initial jobs to use this new framework are the Bulk Export and EMPI modules, but eventually all long processes will be adapted to use this new framework.</p>
</li>
<li>
<p>TThe HAPI FHIR built-in Terminology Server now includes support for validating UCUM (units of measure), BCP-13 (mimetypes), ISO 4217 (currencies), ISO 3166 (countries), and USPS State Codes.</p>
</li>
<li>
<p>It is now possible to disable referential integrity for delete operations for speciific reference paths.</p>
</li>
<li>
<p>A regression has been fixed that significantly degraded validation performance in the JPA server for validation of large numbers of resources.</p>
</li>
<li>
<p>Unit tests have been migrated to JUnit 5. This change has no user visible impacts, but will help us continue to improve ongoing maintenance of our test suites.</p>
</li>
</ul>
<p>As always, see the
<a href="https://smilecdr.com/hapi-fhir/docs/introduction/changelog.html">changelog</a> for a full list of changes.
</p>
<p>Thanks to everyone who contributed to this release!</p>
</div>
</text>
<status value="completed"/>
<sent value="2020-08-13T08:00:00-04:00"/>
<sender>
<reference value="https://smilecdr.com/about_us/#james"/>
<display value="James Agnew"/>
</sender>
<payload>
<contentString value="&lt;p>It's August, so it's time for our next quarterly relese: HAPI FHIR 5.2.0 (Codename: Manticore).&lt;/p>&#xa;&lt;p>Notable changes in this release include:&lt;/p>&#xa;&lt;ul>&#xa;&lt;li>&#xa;&lt;p>An XSS vulnerability has been fixed in the testpage overlay project. This issue affects only the testpage overlay module, but users of this module should upgrade immediately. A CVE number for this issue has been requested and will be updated here when it is assigned.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>Support for the new FHIR NPM Package spec has been added. Currently this support is limited to JPA servers, and support should be added to plain servers in the next release. Packages can be imported on startup, either by supplying NPM files locally or by downloading them automatically from an NPM server such as &lt;a href=&quot;https://packages.fhir.org&quot;>packages.fhir.org&lt;/a>. Package contents (the StructureDefinition, CodeSystem, ValueSet, etc. resources in the package) can be installed into the repository, or can be stored in a dedicated set of tables and made available to the validator without actually being installed in the repository.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>Support for the &lt;code>Observation/$lastn&lt;/code> operation has been implemented thanks to a partnership with LHNCBC/NIH. This operation uses ElasticSearch to support querying for recent Observations over a set of test codes for one or more patients in a very efficient way.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>The FHIR PATCH operation now supports &lt;a href=&quot;https://www.hl7.org/fhir/fhirpatch.html&quot;>FHIRPatch&lt;/a> in addition to the already supported XML and JSON Patch specs. FHIRPatch is a very expressive mechanism for creating patches and can be used to supply very precise patches.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>A new operatiion called &lt;code>$diff&lt;/code> has been added. Diff can be used too generate a FHIRPatch diff between two resrouces, or between two versions of the same resource. For example: http://hapi.fhir.org/baseR4/Patient/example/$diff&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>Several performance problems and occasional failures in the resource expunge operation have been corrected&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>The memory use for Subscription delivery queues has been reduced&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>Snapshot generaton now uses a single snapshot generator codebase for generating snapshots across all versions of FHIR. This makes ongoing maintenance much easier and fixes a number of version specific bugs.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>The maximum cascade depth for cascading deletes is now configurable.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>AuthorizationInterceptor can now fully authorize GraphQL calls, including allowing/blocking individual resources returned by the graph.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>GraphQL now supports POST form (thanks to Kholilul Islam!)&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>The LOINC uploader now supports LOINC 2.68&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>A new batch job framework has been introduced, leveraging the Spring Batch library. Initial jobs to use this new framework are the Bulk Export and EMPI modules, but eventually all long processes will be adapted to use this new framework.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>TThe HAPI FHIR built-in Terminology Server now includes support for validating UCUM (units of measure), BCP-13 (mimetypes), ISO 4217 (currencies), ISO 3166 (countries), and USPS State Codes.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>It is now possible to disable referential integrity for delete operations for speciific reference paths.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>A regression has been fixed that significantly degraded validation performance in the JPA server for validation of large numbers of resources.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>Unit tests have been migrated to JUnit 5. This change has no user visible impacts, but will help us continue to improve ongoing maintenance of our test suites.&lt;/p>&#xa;&lt;/li>&#xa;&lt;/ul>&#xa;&lt;p>As always, see the &lt;a href=&quot;https://smilecdr.com/hapi-fhir/docs/introduction/changelog.html&quot;>changelog&lt;/a> for a full list of changes.&lt;/p>&#xa;&lt;p>Thanks to everyone who contributed to this release!&lt;/p>&#xa;"/>
</payload>
</Communication>
</resource>
</entry>
<entry>
<fullUrl value="https://smilecdr.com/hapi-fhir/blog/fhir/baseR4/Communication/20200602_hapi_fhir_5_0_2"/>
<resource>
<Communication xmlns="http://hl7.org/fhir">
<id value="20200602_hapi_fhir_5_0_2"/>
<meta>
<versionId value="1"/>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="Release"/>
</tag>
</meta>
<language value="en"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>A second point release of the HAPI FHIR 5.0 (Labrador) release cycle has been pushed to Maven Central.</p>
<p>This release corrects only two issues:</p>
<ul>
<li>
<p>A snapshot dependency was accidentally left into the POM for HAPI FHIR 5.0.1. This has been corrected.</p>
</li>
<li>
<p>The default setting for the new partitioning feature &quot;Add Partition to Search Indexes&quot; was incorrectly set to enabled (true). It has been set to false, which was the intended default for this setting.</p>
</li>
</ul>
</div>
</text>
<status value="completed"/>
<sent value="2020-06-02T08:00:00-04:00"/>
<sender>
<reference value="https://smilecdr.com/about_us/#james"/>
<display value="James Agnew"/>
</sender>
<payload>
<contentString value="&lt;p>A second point release of the HAPI FHIR 5.0 (Labrador) release cycle has been pushed to Maven Central.&lt;/p>&#xa;&lt;p>This release corrects only two issues:&lt;/p>&#xa;&lt;ul>&#xa;&lt;li>&#xa;&lt;p>A snapshot dependency was accidentally left into the POM for HAPI FHIR 5.0.1. This has been corrected.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>The default setting for the new partitioning feature &amp;quot;Add Partition to Search Indexes&amp;quot; was incorrectly set to enabled (true). It has been set to false, which was the intended default for this setting.&lt;/p>&#xa;&lt;/li>&#xa;&lt;/ul>&#xa;"/>
</payload>
</Communication>
</resource>
</entry>
<entry>
<fullUrl value="https://smilecdr.com/hapi-fhir/blog/fhir/baseR4/Communication/20200513_hapi_fhir_5_0_0"/>
<resource>
<Communication xmlns="http://hl7.org/fhir">
<id value="20200513_hapi_fhir_5_0_0"/>
<meta>
<versionId value="1"/>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="Release"/>
</tag>
</meta>
<language value="en"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>It's time for another release of HAPI FHIR!</p>
<p>This release brings some good stuff, including:</p>
<ul>
<li>
<p>A new feature called Partitioning has been added to the JPA server. This can be used to implement multitenancy, as well as other partitioned/segregated/sharded use cases.</p>
</li>
<li>
<p>The IValidationSupport interface has been completely redesigned for better flexibility, extensibility and to enable future use cases. Any existing implementations of this interface will need to be adjusted.</p>
</li>
<li>
<p>Many improvements to performance have been implemented</p>
</li>
<li>
<p>FHIR R5 draft definitions have been updated to the latest FHIR 4.2.0 (Preview 2) definitions</p>
</li>
<li>
<p>The Gson JSON parser has been replaced with Jackson for better flexibility and performance</p>
</li>
</ul>
<p>As always, see the
<a href="https://smilecdr.com/hapi-fhir/docs/introduction/changelog.html">changelog</a> for a full list of changes.
</p>
<p>Thanks to everyone who contributed to this release!</p>
</div>
</text>
<status value="completed"/>
<sent value="2020-05-13T10:00:00-05:00"/>
<sender>
<reference value="https://smilecdr.com/about_us/#james"/>
<display value="James Agnew"/>
</sender>
<payload>
<contentString value="&lt;p>It's time for another release of HAPI FHIR!&lt;/p>&#xa;&lt;p>This release brings some good stuff, including:&lt;/p>&#xa;&lt;ul>&#xa;&lt;li>&#xa;&lt;p>A new feature called Partitioning has been added to the JPA server. This can be used to implement multitenancy, as well as other partitioned/segregated/sharded use cases.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>The IValidationSupport interface has been completely redesigned for better flexibility, extensibility and to enable future use cases. Any existing implementations of this interface will need to be adjusted.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>Many improvements to performance have been implemented&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>FHIR R5 draft definitions have been updated to the latest FHIR 4.2.0 (Preview 2) definitions&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>The Gson JSON parser has been replaced with Jackson for better flexibility and performance&lt;/p>&#xa;&lt;/li>&#xa;&lt;/ul>&#xa;&lt;p>As always, see the &lt;a href=&quot;https://smilecdr.com/hapi-fhir/docs/introduction/changelog.html&quot;>changelog&lt;/a> for a full list of changes.&lt;/p>&#xa;&lt;p>Thanks to everyone who contributed to this release!&lt;/p>&#xa;"/>
</payload>
</Communication>
</resource>
</entry>
<entry>
<fullUrl value="https://smilecdr.com/hapi-fhir/blog/fhir/baseR4/Communication/20200215_hapi_fhir_4_2_0"/>
<resource>
<Communication xmlns="http://hl7.org/fhir">
<id value="20200215_hapi_fhir_4_2_0"/>
<meta>
<versionId value="1"/>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="Release"/>
</tag>
</meta>
<language value="en"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>It's time for another release of HAPI FHIR!</p>
<p>This release brings some good stuff, including:</p>
<ul>
<li>
<p>A new database migrator for the JPA server has been introduced, based on FlywayDB.</p>
</li>
<li>
<p>A major performance enhancement has been added to the parser, which decreases the parse time when parsing large Bundle resources by up to 50%.</p>
</li>
<li>
<p>Support for positional (near) search using geo-coordinates and positional distance has been added. This support currently uses a &quot;bounding box&quot; algorithm, and may be further enhanced to use a radius circle in the future.</p>
</li>
<li>
<p>Support for LOINC 2.67 has been added</p>
</li>
</ul>
<p>As always, see the
<a href="https://smilecdr.com/hapi-fhir/docs/introduction/changelog.html">changelog</a> for a full list of changes.
</p>
<p>Thanks to everyone who contributed to this release!</p>
</div>
</text>
<status value="completed"/>
<sent value="2020-02-15T10:00:00-05:00"/>
<sender>
<reference value="https://smilecdr.com/about_us/#james"/>
<display value="James Agnew"/>
</sender>
<payload>
<contentString value="&lt;p>It's time for another release of HAPI FHIR!&lt;/p>&#xa;&lt;p>This release brings some good stuff, including:&lt;/p>&#xa;&lt;ul>&#xa;&lt;li>&#xa;&lt;p>A new database migrator for the JPA server has been introduced, based on FlywayDB.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>A major performance enhancement has been added to the parser, which decreases the parse time when parsing large Bundle resources by up to 50%.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>Support for positional (near) search using geo-coordinates and positional distance has been added. This support currently uses a &amp;quot;bounding box&amp;quot; algorithm, and may be further enhanced to use a radius circle in the future.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>Support for LOINC 2.67 has been added&lt;/p>&#xa;&lt;/li>&#xa;&lt;/ul>&#xa;&lt;p>As always, see the &lt;a href=&quot;https://smilecdr.com/hapi-fhir/docs/introduction/changelog.html&quot;>changelog&lt;/a> for a full list of changes.&lt;/p>&#xa;&lt;p>Thanks to everyone who contributed to this release!&lt;/p>&#xa;"/>
</payload>
</Communication>
</resource>
</entry>
<entry>
<fullUrl value="https://smilecdr.com/hapi-fhir/blog/fhir/baseR4/Communication/20191113_hapi_fhir_4_1_0"/>
<resource>
<Communication xmlns="http://hl7.org/fhir">
<id value="20191113_hapi_fhir_4_1_0"/>
<meta>
<versionId value="1"/>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="Release"/>
</tag>
</meta>
<language value="en"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>It's time for another release of HAPI FHIR!</p>
<p>This release brings some good stuff, including:</p>
<ul>
<li>
<p>Structures JARs have been updated to incorporate the latest technical corrections. DSTU3 structures are upgraded to FHIR 3.0.2, R4 structures are upgraded to FHIR 4.0.1, and R5 draft structures are upgraded to the October 2019 draft revision.</p>
</li>
<li>
<p>ValueSets are now automatically pre-expanded by the JPA server into a dedicated set of database tables. This &quot;precalculated expansion&quot; is used to provide much better performance for validation and expanion operations, and introduced the ability to successfully expand very large ValueSets such as the LOINC implicit (all codes) valueset.</p>
</li>
<li>
<p>Support for the FHIR Bulk Export specification has been added. We are now working on adding support for Bulk Import!</p>
</li>
<li>
<p>First-order support for ElasticSearch as a full-text and terminology service backend implementation. At this time, both raw Lucene and ElasticSearch are supported (this may change in the future but we do not have any current plans to deprecate Lucene).</p>
</li>
<li>
<p>Live Terminology Service operations for terminology file maintenance based on delta files has been added.</p>
</li>
<li>
<p>Binary resources and Media/DocumentReference instances with binary attachments stored in the FHIR repository can now take advantage of externalized binary storage for the binary content when that feature is enabled. This allows much better scalability of repositories containing large amounts of binary content (e.g. document repositories).</p>
</li>
</ul>
<p>As always, see the
<a href="https://smilecdr.com/hapi-fhir/docs/introduction/changelog.html">changelog</a> for a full list of changes.
</p>
<p>Thanks to everyone who contributed to this release!</p>
<p>Also, as a reminder, if you have not already filled out our annual user survey, please take a moment to do so. Access the survey here:
<a href="http://bit.ly/33HO4cs">http://bit.ly/33HO4cs</a> (note that this URL was originally posted incorrectly. It is now fixed)
</p>
</div>
</text>
<status value="completed"/>
<sent value="2019-11-13T10:00:00-05:00"/>
<sender>
<reference value="https://smilecdr.com/about_us/#james"/>
<display value="James Agnew"/>
</sender>
<payload>
<contentString value="&lt;p>It's time for another release of HAPI FHIR!&lt;/p>&#xa;&lt;p>This release brings some good stuff, including:&lt;/p>&#xa;&lt;ul>&#xa;&lt;li>&#xa;&lt;p>Structures JARs have been updated to incorporate the latest technical corrections. DSTU3 structures are upgraded to FHIR 3.0.2, R4 structures are upgraded to&#x9;FHIR 4.0.1, and R5 draft structures are upgraded to the October 2019 draft revision.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>ValueSets are now automatically pre-expanded by the JPA server into a dedicated set of database tables. This &amp;quot;precalculated expansion&amp;quot; is used to provide much better performance for validation and expanion operations, and introduced the ability to successfully expand very large ValueSets such as the LOINC implicit (all codes) valueset.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>Support for the FHIR Bulk Export specification has been added. We are now&#x9;working on adding support for Bulk Import!&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>First-order support for ElasticSearch as a full-text and terminology service backend implementation. At this time, both raw Lucene and ElasticSearch are supported (this may change in the future but we do not have any current plans to deprecate Lucene).&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>Live Terminology Service operations for terminology file maintenance based on delta files has been added.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>Binary resources and Media/DocumentReference instances with binary attachments stored in the FHIR repository can now take advantage of externalized binary storage for the binary content when that feature is enabled. This allows much better scalability of repositories containing large amounts of binary content (e.g. document repositories).&lt;/p>&#xa;&lt;/li>&#xa;&lt;/ul>&#xa;&lt;p>As always, see the &lt;a href=&quot;https://smilecdr.com/hapi-fhir/docs/introduction/changelog.html&quot;>changelog&lt;/a> for a full list of changes.&lt;/p>&#xa;&lt;p>Thanks to everyone who contributed to this release!&lt;/p>&#xa;&lt;p>Also, as a reminder, if you have not already filled out our annual user survey, please take a moment to do so. Access the survey here:&#x9;&lt;a href=&quot;http://bit.ly/33HO4cs&quot;>http://bit.ly/33HO4cs&lt;/a> (note that this URL was originally posted incorrectly. It is now fixed)&lt;/p>&#xa;"/>
</payload>
</Communication>
</resource>
</entry>
<entry>
<fullUrl value="https://smilecdr.com/hapi-fhir/blog/fhir/baseR4/Communication/20190814_hapi_fhir_4_0_0"/>
<resource>
<Communication xmlns="http://hl7.org/fhir">
<id value="20190814_hapi_fhir_4_0_0"/>
<meta>
<versionId value="1"/>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="Release"/>
</tag>
</meta>
<language value="en"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>The next release of HAPI has now been uploaded to the Maven repos and GitHub's releases section.</p>
<p>This release features a number of significant performance improvements, and has some notable changes:</p>
<ul>
<li>
<p>A new consent framework called ConsentInterceptor that can be used to apply local consent directives and policies, and potentially filter or mask data has been added.</p>
</li>
<li>
<p>Initial support for draft FHIR R5 resources has been added.</p>
</li>
<li>
<p>Support for GraphQL and the _filter search parameter has been added.</p>
</li>
<li>
<p>The ability to perform cascading deletes has been added.</p>
</li>
</ul>
<p>As always, see the
<a href="https://smilecdr.com/hapi-fhir/docs/introduction/changelog.html">changelog</a> for a full list of changes.
</p>
<p>Thanks to everyone who contributed to this release!</p>
</div>
</text>
<status value="completed"/>
<sent value="2019-08-14T10:00:00-05:00"/>
<sender>
<reference value="https://smilecdr.com/about_us/#james"/>
<display value="James Agnew"/>
</sender>
<payload>
<contentString value="&lt;p>The next release of HAPI has now been uploaded to the Maven repos and GitHub's releases section.&lt;/p>&#xa;&lt;p>This release features a number of significant performance improvements, and has some notable changes:&lt;/p>&#xa;&lt;ul>&#xa;&lt;li>&#xa;&lt;p>A new consent framework called ConsentInterceptor that can be used to apply local consent directives and policies, and potentially filter or mask data has been added.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>Initial support for draft FHIR R5 resources has been added.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>Support for GraphQL and the _filter search parameter has been added.&lt;/p>&#xa;&lt;/li>&#xa;&lt;li>&#xa;&lt;p>The ability to perform cascading deletes has been added.&lt;/p>&#xa;&lt;/li>&#xa;&lt;/ul>&#xa;&lt;p>As always, see the &lt;a href=&quot;https://smilecdr.com/hapi-fhir/docs/introduction/changelog.html&quot;>changelog&lt;/a> for a full list of changes.&lt;/p>&#xa;&lt;p>Thanks to everyone who contributed to this release!&lt;/p>&#xa;"/>
</payload>
</Communication>
</resource>
</entry>
<entry>
<fullUrl value="https://smilecdr.com/hapi-fhir/blog/fhir/baseR4/Communication/20180211_fhir_and_the_hype_cycle"/>
<resource>
<Communication xmlns="http://hl7.org/fhir">
<id value="20180211_fhir_and_the_hype_cycle"/>
<meta>
<versionId value="1"/>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="Hype Cycle"/>
</tag>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="HL7"/>
</tag>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="HL7v2"/>
</tag>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="FHIR"/>
</tag>
</meta>
<language value="en"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>One of the things we often talk about in the FHIR standards development community is where FHIR currently sits on Gartner's
<a href="https://www.gartner.com/technology/research/methodologies/hype-cycle.jsp">Hype Cycle</a>. The hype cycle is a coarse measure of the trajectory of new technologies on a journey from being &quot;new and exciting silver bullets&quot; to eventually being &quot;boring useful technologies&quot;.
</p>
<p>When you are a proponent of a new technology (as I certainly am with FHIR), probably the most important aspect to remember about the hype cycle is that you really only ever know where you are at any given time long after that time has passed. In other words, it&apos;s fun to ask yourself &quot;have we passed the Peak of Inflated Expectations yet?&quot; but you really won&apos;t know until much later.</p>
<p>Speculating is perhaps a fool's errand. I probably shouldn't try but I can't help but wonder if we have passed the peak yet.</p>
<p>The trajectory of
<a href="http://hapifhir.io">HAPI FHIR</a>'s growth is interesting. FHIR has been growing over the last few years by all kinds of metrics. The connectathons keep getting bigger, the number of vendors participating keeps on getting bigger, and
<a href="https://www.fhirdevdays.com/">FHIR DevDays</a> keeps on getting bigger.
</p>
<p>If I look at our website in Google Analytics, I am curious about the trajectory.</p>
<img src="20180211_fhir_and_the_hype_cycle/hapi-growth.png" style="width: 100%; height: auto;"/>
<p>While HAPI FHIR has seen pretty steady growth over the last few years, that growth has been either tapering or at least very unstable over the last 8 months.</p>
<p>Certainly I don't think HAPI FHIR has stopped growing. The number of messages on the support forum and the number of people with big production implementations these days certainly doesn't suggest that; however, things have certainly been weird the last 8 months.</p>
<p>Let's look at interest in FHIR overall. The next thing to look at is the
<a href="https://trends.google.com/trends/explore?date=2014-02-11%202018-02-11&amp;q=fhir">FHIR Google Trends</a> graph, which measures the number of people searching for terms on Google (a pretty decent indicator of general interest). The following graph shows the last 4 years for FHIR.
</p>
<img src="20180211_fhir_and_the_hype_cycle/fhir-trends.png" style="width: 100%; height: auto;"/>
<p>It would seem that FHIR itself saw a crazy explosion of interest back in May, too. That makes sense since FHIR R3 was released right before that peak.</p>
<p>Let's compare that with the graph for
<a href="http://ihe.net">IHE</a>. I don't think anyone would disagree that IHE sits firmly atop the Plateau of Productivity. Most people in the world of health informatics know what can be accomplished with IHE's profiles, and certainly I've worked with many organizations who use them to accomplish good things.
</p>
<p>The
<a href="https://trends.google.com/trends/explore?date=2014-02-11%202018-02-11&amp;q=fhir,ihe">FHIR and IHE Graph</a> shows interest in
<span style="color: #48F; font-weight: bold;">FHIR in BLUE</span> and
<span style="color: #F00; font-weight: bold;">IHE in RED</span>.
</p>
<img src="20180211_fhir_and_the_hype_cycle/fhir-ihe-trends.png" style="width: 100%; height: auto;"/>
<p>So what can we take from this? I think the right side of the graph is quite interesting. FHIR itself has kind of levelled off recently and has hit similar metrics to those of a very productive organization.</p>
<p>I probably shouldn't attach too much meaning to these graphs, but I can't help but wonder...</p>
</div>
</text>
<status value="completed"/>
<sent value="2018-02-11T15:06:00Z"/>
<sender>
<reference value="https://smilecdr.com/about_us/#james"/>
<display value="James Agnew"/>
</sender>
<payload>
<contentString value="&lt;p>One of the things we often talk about in the FHIR standards development community is where FHIR currently sits on Gartner's &lt;a href=&quot;https://www.gartner.com/technology/research/methodologies/hype-cycle.jsp&quot;>Hype Cycle&lt;/a>. The hype cycle is a coarse measure of the trajectory of new technologies on a journey from being &amp;quot;new and exciting silver bullets&amp;quot; to eventually being &amp;quot;boring useful technologies&amp;quot;.&lt;/p>&#xa;&lt;p>When you are a proponent of a new technology (as I certainly am with FHIR), probably the most important aspect to remember about the hype cycle is that you really only ever know where you are at any given time long after that time has passed. In other words, it's fun to ask yourself &amp;quot;have we passed the Peak of Inflated Expectations yet?&amp;quot; but you really won't know until much later.&lt;/p>&#xa;&lt;p>Speculating is perhaps a fool's errand. I probably shouldn't try but I can't help but wonder if we have passed the peak yet.&lt;/p>&#xa;&lt;p>The trajectory of &lt;a href=&quot;http://hapifhir.io&quot;>HAPI FHIR&lt;/a>'s growth is interesting. FHIR has been growing over the last few years by all kinds of metrics. The connectathons keep getting bigger, the number of vendors participating keeps on getting bigger, and &lt;a href=&quot;https://www.fhirdevdays.com/&quot;>FHIR DevDays&lt;/a> keeps on getting bigger.&lt;/p>&#xa;&lt;p>If I look at our website in Google Analytics, I am curious about the trajectory.&lt;/p>&#xa;&lt;img src=&quot;20180211_fhir_and_the_hype_cycle/hapi-growth.png&quot; style=&quot;width: 100%; height: auto;&quot;/>&#xa;&lt;p>While HAPI FHIR has seen pretty steady growth over the last few years, that growth has been either tapering or at least very unstable over the last 8 months.&lt;/p>&#xa;&lt;p>Certainly I don't think HAPI FHIR has stopped growing. The number of messages on the support forum and the number of people with big production implementations these days certainly doesn't suggest that; however, things have certainly been weird the last 8 months.&lt;/p>&#xa;&lt;p>Let's look at interest in FHIR overall. The next thing to look at is the &lt;a href=&quot;https://trends.google.com/trends/explore?date=2014-02-11%202018-02-11&amp;amp;q=fhir&quot;>FHIR Google Trends&lt;/a> graph, which measures the number of people searching for terms on Google (a pretty decent indicator of general interest). The following graph shows the last 4 years for FHIR.&lt;/p>&#xa;&lt;img src=&quot;20180211_fhir_and_the_hype_cycle/fhir-trends.png&quot; style=&quot;width: 100%; height: auto;&quot;/>&#xa;&lt;p>It would seem that FHIR itself saw a crazy explosion of interest back in May, too. That makes sense since FHIR R3 was released right before that peak.&lt;/p>&#xa;&lt;p>Let's compare that with the graph for &lt;a href=&quot;http://ihe.net&quot;>IHE&lt;/a>. I don't think anyone would disagree that IHE sits firmly atop the Plateau of Productivity. Most people in the world of health informatics know what can be accomplished with IHE's profiles, and certainly I've worked with many organizations who use them to accomplish good things.&lt;/p>&#xa;&lt;p>The &lt;a href=&quot;https://trends.google.com/trends/explore?date=2014-02-11%202018-02-11&amp;amp;q=fhir,ihe&quot;>FHIR and IHE Graph&lt;/a> shows interest in &lt;span style=&quot;color: #48F; font-weight: bold;&quot;>FHIR in BLUE&lt;/span> and &lt;span style=&quot;color: #F00; font-weight: bold;&quot;>IHE in RED&lt;/span>.&lt;/p>&#xa;&lt;img src=&quot;20180211_fhir_and_the_hype_cycle/fhir-ihe-trends.png&quot; style=&quot;width: 100%; height: auto;&quot;/>&#xa;&lt;p>So what can we take from this? I think the right side of the graph is quite interesting. FHIR itself has kind of levelled off recently and has hit similar metrics to those of a very productive organization.&lt;/p>&#xa;&lt;p>I probably shouldn't attach too much meaning to these graphs, but I can't help but wonder...&lt;/p>&#xa;"/>
</payload>
</Communication>
</resource>
</entry>
<entry>
<fullUrl value="https://smilecdr.com/hapi-fhir/blog/fhir/baseR4/Communication/20170208_custom_search_parameters"/>
<resource>
<Communication xmlns="http://hl7.org/fhir">
<id value="20170208_custom_search_parameters"/>
<meta>
<versionId value="1"/>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="SearchParameters"/>
</tag>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="HAPI"/>
</tag>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="Development"/>
</tag>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="FHIR"/>
</tag>
</meta>
<language value="en"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>HAPI FHIR's
<a href="https://hapifhir.io/hapi-fhir/docs/server_jpa/introduction.html" target="_blank">JPA Module</a> lets you quickly set up a FHIR server, complete with a database for whatever purpose you might have.
</p>
<p>One of the most requested features in the last year has been for support of custom search parameters on that server. Out of the box, the JPA server has always supported the default/built-in search parameters that are defined in the FHIR specification.</p>
<p>This means that if you store a
<code>Patient</code> resource in the database, the
<code>Patient.gender</code> field will be indexed with a search parameter called
<code>gender</code>, the
<code>Patient.birthDate</code> field will be indexed with a search parameter called
<code>birthdate</code>, etc.
</p>
<p>To see a list of the default search parameters for a given resource, you can see a table near the bottom of any resource definition. For example,
<a href="http://www.hl7.org/fhir/patient.html#search" target="_blank">here are the Patient search parameters</a>.
</p>
<h2>The Need for Custom Parameters</h2>
<p>The built-in parameters are great for lots of situations but if you're building a real application backend then you are probably going to come up with a need that the FHIR specification developers didn't anticipate (or one that doesn't meet FHIR's 80% rule).</p>
<p>The solution for this is to introduce a custom search parameter. Search parameters are defined using a resource that is – unsurprisingly – called
<code>SearchParameter</code>. The idea is that you create one of these SearchParameter resources and give it a
<code>code</code> (the name of the URL parameter), a
<code>type</code> (the search parameter type), and an
<code>expression</code> (the FHIRPath expression which will actually be indexed).
</p>
<h2>Custom Parameters in HAPI FHIR JPA</h2>
<p>In HAPI FHIR's JPA server, custom search parameters are indexed just like any other search parameter. A new mechanism has been introduced in HAPI FHIR 2.3 (to be released soon) that parses the expression, adds any new or updated search parameters to an internal registry of indexed paths, and marks any existing resources that are potential candidates for this new search parameter as requiring reindexing.</p>
<p>This means that any newly added search parameters will cover resources added after the search parameter was added, and it will also cover older resources after the server has had a chance to reindex them.</p>
<p>This also means that you definitely want to make sure you have properly secured the
<code>/SearchParameter</code> endpoint since it can potentially cause your server to do a lot of extra work if there are a lot of resources present.
</p>
<h2>Taking it for a Spin!</h2>
<p>To show how this works, here is an example of a search parameter on an extension. We'll suppose that in our system we've defined an extension for patients' eye colour. Patient resources stored in our database will have the eye colour extension set, and we want to be able to search on this extension, too.</p>
<p>
<strong>1. Create the Search Parameter</strong>
</p>
<p>First, define a search parameter and upload it to your server. In Java, this looks as follows:</p>
<pre><code class="language-java">// Create a search parameter definition
SearchParameter eyeColourSp = new SearchParameter();
eyeColourSp.addBase(&quot;Patient&quot;);
eyeColourSp.setCode(&quot;eyecolour&quot;);
eyeColourSp.setType(org.hl7.fhir.dstu3.model.Enumerations.SearchParamType.TOKEN);
eyeColourSp.setTitle(&quot;Eye Colour&quot;);
eyeColourSp.setExpression(&quot;Patient.extension(&apos;http://acme.org/eyecolour&apos;)&quot;);
eyeColourSp.setXpathUsage(org.hl7.fhir.dstu3.model.SearchParameter.XPathUsageType.NORMAL);
eyeColourSp.setStatus(org.hl7.fhir.dstu3.model.Enumerations.PublicationStatus.ACTIVE);
// Upload it to the server
client
.create()
.resource(eyeColourSp)
.execute();</code></pre>
<p>The resulting SearchParameter resource looks as follows:</p>
<pre><code class="language-json">{
&quot;resourceType&quot;: &quot;SearchParameter&quot;,
&quot;title&quot;: &quot;Eye Colour&quot;,
&quot;base&quot;: [ &quot;Patient&quot; ],
&quot;status&quot;: &quot;active&quot;,
&quot;code&quot;: &quot;eyecolour&quot;,
&quot;type&quot;: &quot;token&quot;,
&quot;expression&quot;: &quot;Patient.extension(&apos;http://acme.org/eyecolour&apos;)&quot;,
&quot;xpathUsage&quot;: &quot;normal&quot;
}</code></pre>
<p>
<strong>2. Upload Some Resources</strong>
</p>
<p>Let's upload two Patient resources with different eye colours.</p>
<pre><code class="language-java">Patient p1 = new Patient();
p1.setActive(true);
p1.addExtension().setUrl(&quot;http://acme.org/eyecolour&quot;).setValue(new CodeType(&quot;blue&quot;));
client
.create()
.resource(p1)
.execute();
Patient p2 = new Patient();
p2.setActive(true);
p2.addExtension().setUrl(&quot;http://acme.org/eyecolour&quot;).setValue(new CodeType(&quot;green&quot;));
client
.create()
.resource(p2)
.execute();</code></pre>
<p>Here's how one of these resources will look when encoded.</p>
<pre><code class="language-json">{
&quot;resourceType&quot;: &quot;Patient&quot;,
&quot;extension&quot;: [
{
&quot;url&quot;: &quot;http://acme.org/eyecolour&quot;,
&quot;valueCode&quot;: &quot;blue&quot;
}
],
&quot;active&quot;: true
}</code></pre>
<p>
<strong>3. Search!</strong>
</p>
<p>Finally, let's try searching:</p>
<pre><code class="language-java">Bundle bundle = ourClient
.search()
.forResource(Patient.class)
.where(new TokenClientParam(&quot;eyecolour&quot;).exactly().code(&quot;blue&quot;))
.returnBundle(Bundle.class)
.execute();
System.out.println(myFhirCtx.newJsonParser().setPrettyPrint(true).encodeResourceToString(bundle));</code></pre>
<p>This produces a search result that contains only the matching resource:</p>
<pre><code class="language-json">{
&quot;resourceType&quot;: &quot;Bundle&quot;,
&quot;id&quot;: &quot;bc89e883-b9f7-4745-8c2f-24bf9277664d&quot;,
&quot;meta&quot;: {
&quot;lastUpdated&quot;: &quot;2017-02-07T20:30:05.445-05:00&quot;
},
&quot;type&quot;: &quot;searchset&quot;,
&quot;total&quot;: 1,
&quot;link&quot;: [
{
&quot;relation&quot;: &quot;self&quot;,
&quot;url&quot;: &quot;http://localhost:45481/fhir/context/Patient?eyecolour=blue&quot;
}
],
&quot;entry&quot;: [
{
&quot;fullUrl&quot;: &quot;http://localhost:45481/fhir/context/Patient/2&quot;,
&quot;resource&quot;: {
&quot;resourceType&quot;: &quot;Patient&quot;,
&quot;id&quot;: &quot;2&quot;,
&quot;meta&quot;: {
&quot;versionId&quot;: &quot;1&quot;,
&quot;lastUpdated&quot;: &quot;2017-02-07T20:30:05.317-05:00&quot;
},
&quot;text&quot;: {
&quot;status&quot;: &quot;generated&quot;,
&quot;div&quot;: &quot;&lt;div xmlns=\&quot;http://www.w3.org/1999/xhtml\&quot;&gt;&lt;table class=\&quot;hapiPropertyTable\&quot;&gt;&lt;tbody/&gt;&lt;/table&gt;&lt;/div&gt;&quot;
},
&quot;extension&quot;: [
{
&quot;url&quot;: &quot;http://acme.org/eyecolour&quot;,
&quot;valueCode&quot;: &quot;blue&quot;
}
],
&quot;active&quot;: true
},
&quot;search&quot;: {
&quot;mode&quot;: &quot;match&quot;
}
}
]
}</code></pre>
<h2>Custom Search Parameters in Smile CDR</h2>
<p>Naturally, this feature will soon be available in Smile CDR. Previous versions of Smile CDR had a less elegant solution to this problem; however, now that we have a nice elegant approach to custom parameters that is based on FHIR's own way of handling this, Smile CDR users will see the benefits quickly.</p>
</div>
</text>
<status value="completed"/>
<sent value="2017-02-07T20:35:00-05:00"/>
<sender>
<reference value="https://smilecdr.com/about_us/#james"/>
<display value="James Agnew"/>
</sender>
<payload>
<contentString value="&lt;p>HAPI FHIR's &lt;a href=&quot;https://hapifhir.io/hapi-fhir/docs/server_jpa/introduction.html&quot; target=&quot;_blank&quot;>JPA Module&lt;/a> lets you quickly set up a FHIR server, complete with a database for whatever purpose you might have.&lt;/p>&#xa;&lt;p>One of the most requested features in the last year has been for support of custom search parameters on that server. Out of the box, the JPA server has always supported the default/built-in search parameters that are defined in the FHIR specification.&lt;/p>&#xa;&lt;p>This means that if you store a &lt;code>Patient&lt;/code> resource in the database, the &lt;code>Patient.gender&lt;/code> field will be indexed with a search parameter called &lt;code>gender&lt;/code>, the &lt;code>Patient.birthDate&lt;/code> field will be indexed with a search parameter called &lt;code>birthdate&lt;/code>, etc.&lt;/p>&#xa;&lt;p>To see a list of the default search parameters for a given resource, you can see a table near the bottom of any resource definition. For example, &lt;a href=&quot;http://www.hl7.org/fhir/patient.html#search&quot; target=&quot;_blank&quot;>here are the Patient search parameters&lt;/a>.&lt;/p>&#xa;&lt;h2>The Need for Custom Parameters&lt;/h2>&#xa;&lt;p>The built-in parameters are great for lots of situations but if you're building a real application backend then you are probably going to come up with a need that the FHIR specification developers didn't anticipate (or one that doesn't meet FHIR's 80% rule).&lt;/p>&#xa;&lt;p>The solution for this is to introduce a custom search parameter. Search parameters are defined using a resource that is – unsurprisingly – called &lt;code>SearchParameter&lt;/code>. The idea is that you create one of these SearchParameter resources and give it a &lt;code>code&lt;/code> (the name of the URL parameter), a &lt;code>type&lt;/code> (the search parameter type), and an &lt;code>expression&lt;/code> (the FHIRPath expression which will actually be indexed).&lt;/p>&#xa;&lt;h2>Custom Parameters in HAPI FHIR JPA&lt;/h2>&#xa;&lt;p>In HAPI FHIR's JPA server, custom search parameters are indexed just like any other search parameter. A new mechanism has been introduced in HAPI FHIR 2.3 (to be released soon) that parses the expression, adds any new or updated search parameters to an internal registry of indexed paths, and marks any existing resources that are potential candidates for this new search parameter as requiring reindexing.&lt;/p>&#xa;&lt;p>This means that any newly added search parameters will cover resources added after the search parameter was added, and it will also cover older resources after the server has had a chance to reindex them.&lt;/p>&#xa;&lt;p>This also means that you definitely want to make sure you have properly secured the &lt;code>/SearchParameter&lt;/code> endpoint since it can potentially cause your server to do a lot of extra work if there are a lot of resources present.&lt;/p>&#xa;&lt;h2>Taking it for a Spin!&lt;/h2>&#xa;&lt;p>To show how this works, here is an example of a search parameter on an extension. We'll suppose that in our system we've defined an extension for patients' eye colour. Patient resources stored in our database will have the eye colour extension set, and we want to be able to search on this extension, too.&lt;/p>&#xa;&lt;p>&lt;strong>1. Create the Search Parameter&lt;/strong>&lt;/p>&#xa;&lt;p>First, define a search parameter and upload it to your server. In Java, this looks as follows:&lt;/p>&#xa;&lt;pre>&lt;code class=&quot;language-java&quot;>// Create a search parameter definition&#xa;SearchParameter eyeColourSp = new SearchParameter();&#xa;eyeColourSp.addBase(&amp;quot;Patient&amp;quot;);&#xa;eyeColourSp.setCode(&amp;quot;eyecolour&amp;quot;);&#xa;eyeColourSp.setType(org.hl7.fhir.dstu3.model.Enumerations.SearchParamType.TOKEN);&#xa;eyeColourSp.setTitle(&amp;quot;Eye Colour&amp;quot;);&#xa;eyeColourSp.setExpression(&amp;quot;Patient.extension('http://acme.org/eyecolour')&amp;quot;);&#xa;eyeColourSp.setXpathUsage(org.hl7.fhir.dstu3.model.SearchParameter.XPathUsageType.NORMAL);&#xa;eyeColourSp.setStatus(org.hl7.fhir.dstu3.model.Enumerations.PublicationStatus.ACTIVE);&#xa;// Upload it to the server&#xa;client&#xa;&#x9;.create()&#xa;&#x9;.resource(eyeColourSp)&#xa;&#x9;.execute();&lt;/code>&lt;/pre>&#xa;&lt;p>The resulting SearchParameter resource looks as follows:&lt;/p>&#xa;&lt;pre>&lt;code class=&quot;language-json&quot;>{&#xa;&#x9;&amp;quot;resourceType&amp;quot;: &amp;quot;SearchParameter&amp;quot;,&#xa;&#x9;&amp;quot;title&amp;quot;: &amp;quot;Eye Colour&amp;quot;,&#xa;&#x9;&amp;quot;base&amp;quot;: [ &amp;quot;Patient&amp;quot; ],&#xa;&#x9;&amp;quot;status&amp;quot;: &amp;quot;active&amp;quot;,&#xa;&#x9;&amp;quot;code&amp;quot;: &amp;quot;eyecolour&amp;quot;,&#xa;&#x9;&amp;quot;type&amp;quot;: &amp;quot;token&amp;quot;,&#xa;&#x9;&amp;quot;expression&amp;quot;: &amp;quot;Patient.extension('http://acme.org/eyecolour')&amp;quot;,&#xa;&#x9;&amp;quot;xpathUsage&amp;quot;: &amp;quot;normal&amp;quot;&#xa;}&lt;/code>&lt;/pre>&#xa;&lt;p>&lt;strong>2. Upload Some Resources&lt;/strong>&lt;/p>&#xa;&lt;p>Let's upload two Patient resources with different eye colours.&lt;/p>&#xa;&lt;pre>&lt;code class=&quot;language-java&quot;>Patient p1 = new Patient();&#xa;p1.setActive(true);&#xa;p1.addExtension().setUrl(&amp;quot;http://acme.org/eyecolour&amp;quot;).setValue(new CodeType(&amp;quot;blue&amp;quot;));&#xa;client&#xa;&#x9;.create()&#xa;&#x9;.resource(p1)&#xa;&#x9;.execute();&#xa;Patient p2 = new Patient();&#xa;p2.setActive(true);&#xa;p2.addExtension().setUrl(&amp;quot;http://acme.org/eyecolour&amp;quot;).setValue(new CodeType(&amp;quot;green&amp;quot;));&#xa;client&#xa;&#x9;.create()&#xa;&#x9;.resource(p2)&#xa;&#x9;.execute();&lt;/code>&lt;/pre>&#xa;&lt;p>Here's how one of these resources will look when encoded.&lt;/p>&#xa;&lt;pre>&lt;code class=&quot;language-json&quot;>{&#xa; &amp;quot;resourceType&amp;quot;: &amp;quot;Patient&amp;quot;,&#xa; &amp;quot;extension&amp;quot;: [&#xa; {&#xa; &amp;quot;url&amp;quot;: &amp;quot;http://acme.org/eyecolour&amp;quot;,&#xa; &amp;quot;valueCode&amp;quot;: &amp;quot;blue&amp;quot;&#xa; }&#xa; ],&#xa; &amp;quot;active&amp;quot;: true&#xa;}&lt;/code>&lt;/pre>&#xa;&lt;p>&lt;strong>3. Search!&lt;/strong>&lt;/p>&#xa;&lt;p>Finally, let's try searching:&lt;/p>&#xa;&lt;pre>&lt;code class=&quot;language-java&quot;>Bundle bundle = ourClient&#xa;&#x9;.search()&#xa;&#x9;.forResource(Patient.class)&#xa;&#x9;.where(new TokenClientParam(&amp;quot;eyecolour&amp;quot;).exactly().code(&amp;quot;blue&amp;quot;))&#xa;&#x9;.returnBundle(Bundle.class)&#xa;&#x9;.execute();&#xa;System.out.println(myFhirCtx.newJsonParser().setPrettyPrint(true).encodeResourceToString(bundle));&lt;/code>&lt;/pre>&#xa;&lt;p>This produces a search result that contains only the matching resource:&lt;/p>&#xa;&lt;pre>&lt;code class=&quot;language-json&quot;>{&#xa; &amp;quot;resourceType&amp;quot;: &amp;quot;Bundle&amp;quot;,&#xa; &amp;quot;id&amp;quot;: &amp;quot;bc89e883-b9f7-4745-8c2f-24bf9277664d&amp;quot;,&#xa; &amp;quot;meta&amp;quot;: {&#xa; &amp;quot;lastUpdated&amp;quot;: &amp;quot;2017-02-07T20:30:05.445-05:00&amp;quot;&#xa; },&#xa; &amp;quot;type&amp;quot;: &amp;quot;searchset&amp;quot;,&#xa; &amp;quot;total&amp;quot;: 1,&#xa; &amp;quot;link&amp;quot;: [&#xa; {&#xa; &amp;quot;relation&amp;quot;: &amp;quot;self&amp;quot;,&#xa; &amp;quot;url&amp;quot;: &amp;quot;http://localhost:45481/fhir/context/Patient?eyecolour=blue&amp;quot;&#xa; }&#xa; ],&#xa; &amp;quot;entry&amp;quot;: [&#xa; {&#xa; &amp;quot;fullUrl&amp;quot;: &amp;quot;http://localhost:45481/fhir/context/Patient/2&amp;quot;,&#xa; &amp;quot;resource&amp;quot;: {&#xa; &amp;quot;resourceType&amp;quot;: &amp;quot;Patient&amp;quot;,&#xa; &amp;quot;id&amp;quot;: &amp;quot;2&amp;quot;,&#xa; &amp;quot;meta&amp;quot;: {&#xa; &amp;quot;versionId&amp;quot;: &amp;quot;1&amp;quot;,&#xa; &amp;quot;lastUpdated&amp;quot;: &amp;quot;2017-02-07T20:30:05.317-05:00&amp;quot;&#xa; },&#xa; &amp;quot;text&amp;quot;: {&#xa; &amp;quot;status&amp;quot;: &amp;quot;generated&amp;quot;,&#xa; &amp;quot;div&amp;quot;: &amp;quot;&amp;lt;div xmlns=\&amp;quot;http://www.w3.org/1999/xhtml\&amp;quot;&amp;gt;&amp;lt;table class=\&amp;quot;hapiPropertyTable\&amp;quot;&amp;gt;&amp;lt;tbody/&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;/div&amp;gt;&amp;quot;&#xa; },&#xa; &amp;quot;extension&amp;quot;: [&#xa; {&#xa; &amp;quot;url&amp;quot;: &amp;quot;http://acme.org/eyecolour&amp;quot;,&#xa; &amp;quot;valueCode&amp;quot;: &amp;quot;blue&amp;quot;&#xa; }&#xa; ],&#xa; &amp;quot;active&amp;quot;: true&#xa; },&#xa; &amp;quot;search&amp;quot;: {&#xa; &amp;quot;mode&amp;quot;: &amp;quot;match&amp;quot;&#xa; }&#xa; }&#xa; ]&#xa;}&lt;/code>&lt;/pre>&#xa;&lt;h2>Custom Search Parameters in Smile CDR&lt;/h2>&#xa;&lt;p>Naturally, this feature will soon be available in Smile CDR. Previous versions of Smile CDR had a less elegant solution to this problem; however, now that we have a nice elegant approach to custom parameters that is based on FHIR's own way of handling this, Smile CDR users will see the benefits quickly.&lt;/p>&#xa;"/>
</payload>
</Communication>
</resource>
</entry>
<entry>
<fullUrl value="https://smilecdr.com/hapi-fhir/blog/fhir/baseR4/Communication/20170201_gitlab_and_exactly_how_to_handle_an_outage"/>
<resource>
<Communication xmlns="http://hl7.org/fhir">
<id value="20170201_gitlab_and_exactly_how_to_handle_an_outage"/>
<meta>
<versionId value="1"/>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="Outages"/>
</tag>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="DevOps"/>
</tag>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="Git"/>
</tag>
</meta>
<language value="en"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>I love
<a href="https://gitlab.com" target="_blank">GitLab</a>. Let's get that out of the way.
</p>
<p>Back when I first joined the HAPI project, we were using
<a href="https://en.wikipedia.org/wiki/Concurrent_Versions_System" target="_blank">CVS</a> for version control, hosted on SourceForge. Sourceforge was at that point a pretty cool system. You got free project hosting for your open source project, a free website, and shell access to a server so you could run scripts, edit your raw website, and whatever else you needed to do. That last part has always amazed me; I've always wondered what lengths SourceForge must have had to go to in order to keep that system from being abused.
</p>
<p>Naturally, we eventually discovered GitHub and happily moved over there – and HAPI FHIR remains a happy resident of GitHub. We're now in the progress of migrating the HAPI Hl7v2.x codebase over to
<a href="https://github.com/hapifhir/hapi-hl7v2/" target="_blank">a new home on GitHub</a>, too.
</p>
<h2>Along comes GitLab</h2>
<p>The Smile CDR team discovered GitLab about a year ago. We quickly fell in love: easy self-hosting, a UI that feels familiar to a GitHub user yet somehow slightly more powerful in each part you touch, and a compelling set of features in the enterprise edition as well once you are ready for them.</p>
<p>On Tuesday afternoon,
<a href="https://smilecdr.com/about_us.htmlFHIR_READ_ALL_OF_TYPE#diederik">Diederik</a> noticed that GitLab was behaving slowly. I was curious about it since GitLab's
<a href="https://twitter.com/gitlabstatus" target="_blank">@gitlabstatus</a> Twitter mentioned unknown issues affecting the site. As it turned out, their issues went from bad, to better, and then to much worse. Ultimately, they wound up being unavailable for all of last night and part of this morning.
</p>
<h2>A terrible day for them!</h2>
<p>GitLab's issues were slightly hilarious but also totally relatable to anyone building and deploying big systems for any length of time. TechCrunch has a nice
<a href="https://techcrunch.com/2017/02/01/gitlab-suffers-major-backup-failure-after-data-deletion-incident/" target="_blank">writeup of the incident</a> if you want the gory details. Let's just say they had slowness problems caused by a user abusing the system, and in trying to recover from that a sysadmin accidentally deleted a large amount of production data. Ultimately, he thought he was in a shell on one (bad) node and just removing a useless empty directory but he was actually in a shell on the (good) master node.
</p>
<p>I read a few meltdowns about this on reddit today, calling the sysadmin inexperienced, inept, or worse, but I also saw a few people saying something that resonated with me much more: if you've never made a mistake on a big complicated production system, you've probably never worked on a big complicated production system.</p>
<p>These things happen. The trick is being able to recover from whatever has gone wrong, no matter how bad things have gotten.</p>
<h2>An exercise in good incident management</h2>
<img src="20170201_gitlab_and_exactly_how_to_handle_an_outage/gitlabfail02.gif" style="max-width: 500px;" class="PostCaptionTopRight"/>
<p>This is where GitLab really won me over. Check their
<a href="https://twitter.com/gitlabstatus" target="_blank">Twitter</a> for yourself. There was no attempt to mince words. GitLab engineers were candid about what had happened from the second things went south.
</p>
<p>GitLab opened a publicly readable Google Doc where all of the notes of their investigation could be read by anyone wanting to follow along. When it became clear that the recovery effort was going to be long and complicated, they opened a YouTube live stream of a conference bridge with their engineers chipping away at the recovery.</p>
<p>They even opened a live chat with the stream so you could comment on their efforts. Watching it was great. I've been in their position many times in my life: tired from being up all night trying to fix something, and sitting on an endless bridge where I'm fixing one piece, waiting for others to fix theirs, and trying to keep morale up as best I can. GitLab's engineers did this, and they did it with cameras running.</p>
<p>So this is the thing: I bet GitLab will be doing a lot of soul-searching in the next few days, and hopefully their tired engineers will get some rest soon. In the end, the inconvenience of this outage will be forgotten but I'm sure this won't be the last time I'll point to the way they handled a critical incident with complete transparency, and set my mind at ease that things were under control.</p>
</div>
</text>
<status value="completed"/>
<sent value="2017-02-01T20:37:00-05:00"/>
<sender>
<reference value="https://smilecdr.com/about_us/#james"/>
<display value="James Agnew"/>
</sender>
<payload>
<contentString value="&lt;p>I love &lt;a href=&quot;https://gitlab.com&quot; target=&quot;_blank&quot;>GitLab&lt;/a>. Let's get that out of the way.&lt;/p>&#xa;&lt;p>Back when I first joined the HAPI project, we were using &lt;a href=&quot;https://en.wikipedia.org/wiki/Concurrent_Versions_System&quot; target=&quot;_blank&quot;>CVS&lt;/a> for version control, hosted on SourceForge. Sourceforge was at that point a pretty cool system. You got free project hosting for your open source project, a free website, and shell access to a server so you could run scripts, edit your raw website, and whatever else you needed to do. That last part has always amazed me; I've always wondered what lengths SourceForge must have had to go to in order to keep that system from being abused.&lt;/p>&#xa;&lt;p>Naturally, we eventually discovered GitHub and happily moved over there – and HAPI FHIR remains a happy resident of GitHub. We're now in the progress of migrating the HAPI Hl7v2.x codebase over to &lt;a href=&quot;https://github.com/hapifhir/hapi-hl7v2/&quot; target=&quot;_blank&quot;>a new home on GitHub&lt;/a>, too.&lt;/p>&#xa;&lt;h2>Along comes GitLab&lt;/h2>&#xa;&lt;p>The Smile CDR team discovered GitLab about a year ago. We quickly fell in love: easy self-hosting, a UI that feels familiar to a GitHub user yet somehow slightly more powerful in each part you touch, and a compelling set of features in the enterprise edition as well once you are ready for them.&lt;/p>&#xa;&lt;p>On Tuesday afternoon, &lt;a href=&quot;https://smilecdr.com/about_us.htmlFHIR_READ_ALL_OF_TYPE#diederik&quot;>Diederik&lt;/a> noticed that GitLab was behaving slowly. I was curious about it since GitLab's &lt;a href=&quot;https://twitter.com/gitlabstatus&quot; target=&quot;_blank&quot;>@gitlabstatus&lt;/a> Twitter mentioned unknown issues affecting the site. As it turned out, their issues went from bad, to better, and then to much worse. Ultimately, they wound up being unavailable for all of last night and part of this morning.&lt;/p>&#xa;&lt;h2>A terrible day for them!&lt;/h2>&#xa;&lt;p>GitLab's issues were slightly hilarious but also totally relatable to anyone building and deploying big systems for any length of time. TechCrunch has a nice &lt;a href=&quot;https://techcrunch.com/2017/02/01/gitlab-suffers-major-backup-failure-after-data-deletion-incident/&quot; target=&quot;_blank&quot;>writeup of the incident&lt;/a> if you want the gory details. Let's just say they had slowness problems caused by a user abusing the system, and in trying to recover from that a sysadmin accidentally deleted a large amount of production data. Ultimately, he thought he was in a shell on one (bad) node and just removing a useless empty directory but he was actually in a shell on the (good) master node.&lt;/p>&#xa;&lt;p>I read a few meltdowns about this on reddit today, calling the sysadmin inexperienced, inept, or worse, but I also saw a few people saying something that resonated with me much more: if you've never made a mistake on a big complicated production system, you've probably never worked on a big complicated production system.&lt;/p>&#xa;&lt;p>These things happen. The trick is being able to recover from whatever has gone wrong, no matter how bad things have gotten.&lt;/p>&#xa;&lt;h2>An exercise in good incident management&lt;/h2>&#xa;&lt;img src=&quot;20170201_gitlab_and_exactly_how_to_handle_an_outage/gitlabfail02.gif&quot; class=&quot;PostCaptionTopRight&quot; style=&quot;max-width: 500px;&quot;/>&#xa;&lt;p>This is where GitLab really won me over. Check their &lt;a href=&quot;https://twitter.com/gitlabstatus&quot; target=&quot;_blank&quot;>Twitter&lt;/a> for yourself. There was no attempt to mince words. GitLab engineers were candid about what had happened from the second things went south.&lt;/p>&#xa;&lt;p>GitLab opened a publicly readable Google Doc where all of the notes of their investigation could be read by anyone wanting to follow along. When it became clear that the recovery effort was going to be long and complicated, they opened a YouTube live stream of a conference bridge with their engineers chipping away at the recovery.&lt;/p>&#xa;&lt;p>They even opened a live chat with the stream so you could comment on their efforts. Watching it was great. I've been in their position many times in my life: tired from being up all night trying to fix something, and sitting on an endless bridge where I'm fixing one piece, waiting for others to fix theirs, and trying to keep morale up as best I can. GitLab's engineers did this, and they did it with cameras running.&lt;/p>&#xa;&lt;p>So this is the thing: I bet GitLab will be doing a lot of soul-searching in the next few days, and hopefully their tired engineers will get some rest soon. In the end, the inconvenience of this outage will be forgotten but I'm sure this won't be the last time I'll point to the way they handled a critical incident with complete transparency, and set my mind at ease that things were under control.&lt;/p>&#xa;"/>
</payload>
</Communication>
</resource>
</entry>
<entry>
<fullUrl value="https://smilecdr.com/hapi-fhir/blog/fhir/baseR4/Communication/20170117_hl7_wgm_san_antonio"/>
<resource>
<Communication xmlns="http://hl7.org/fhir">
<id value="20170117_hl7_wgm_san_antonio"/>
<meta>
<versionId value="1"/>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="HL7"/>
</tag>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="Meetings"/>
</tag>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="Connectathon"/>
</tag>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="FHIR"/>
</tag>
<tag>
<system value="https://smilecdr.com/hapi-fhir/blog/tag"/>
<code value="WGM"/>
</tag>
</meta>
<language value="en"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<img src="20170117_hl7_wgm_san_antonio/IMG_20170116_214308.jpg" class="blog-post-image-fullwidth"/>
<p>It's January again, which of course means it's time for the January HL7 Working Group Meeting. As always, the first two days of the HL7 meeting brings FHIR Connectathon, and this was Connectathon 14.</p>
<p>I feel like every time I visit one of these meetings, the scale of the meeting astounds me and I can't imagine it being any bigger... and then that happens again the next time. The final tally at the September 2016 (Baltimore) Connectathon was 170 people. The final tally here in San Antonio was 209 so we continue to beat expectations.</p>
<p>I think we are finally passing a point where it's feasible to fit everyone in a half-size hotel ballroom. We may well have some hard decisions about whether the format still works or whether we need to turn people away in September.</p>
<p>Also amazing to me was the number of new faces. On the first day,
<a href="https://github.com/ewoutkramer" target="_blank">Ewout Kramer</a> asked the room for anyone who was a first-time attendee to a FHIR Connectathon to raise their hand. It looked like about half the room raised their hand so we're really expanding the pool of interested people right now. Exciting days for FHIR!
</p>
<p>Monday night brought our usual HAPI &amp; .NET Users Group. We discussed a proposal we&apos;re working on for a template-based approach to automatic resource narrative generation. There will be more on that in a future post.</p>
</div>
</text>
<status value="completed"/>
<sent value="2017-01-17T18:00:00-05:00"/>
<sender>
<reference value="https://smilecdr.com/about_us/#james"/>
<display value="James Agnew"/>
</sender>
<payload>
<contentString value="&lt;img src=&quot;20170117_hl7_wgm_san_antonio/IMG_20170116_214308.jpg&quot; class=&quot;blog-post-image-fullwidth&quot;/>&#xa;&lt;p>It's January again, which of course means it's time for the January HL7 Working Group Meeting. As always, the first two days of the HL7 meeting brings FHIR Connectathon, and this was Connectathon 14.&lt;/p>&#xa;&lt;p>I feel like every time I visit one of these meetings, the scale of the meeting astounds me and I can't imagine it being any bigger... and then that happens again the next time. The final tally at the September 2016 (Baltimore) Connectathon was 170 people. The final tally here in San Antonio was 209 so we continue to beat expectations.&lt;/p>&#xa;&lt;p>I think we are finally passing a point where it's feasible to fit everyone in a half-size hotel ballroom. We may well have some hard decisions about whether the format still works or whether we need to turn people away in September.&lt;/p>&#xa;&lt;p>Also amazing to me was the number of new faces. On the first day, &lt;a href=&quot;https://github.com/ewoutkramer&quot; target=&quot;_blank&quot;>Ewout Kramer&lt;/a> asked the room for anyone who was a first-time attendee to a FHIR Connectathon to raise their hand. It looked like about half the room raised their hand so we're really expanding the pool of interested people right now. Exciting days for FHIR!&lt;/p>&#xa;&lt;p>Monday night brought our usual HAPI &amp;amp; .NET Users Group. We discussed a proposal we're working on for a template-based approach to automatic resource narrative generation. There will be more on that in a future post.&lt;/p>&#xa;"/>
</payload>
</Communication>
</resource>
</entry>
</Bundle>
Wrote 74.9 KB (291.4 KB total including HTML) in estimated 6ms