Bundle selection

{{sel.display}}
Paste the Bundle into the text box or upload from the local filesystem. A 'view Bundle' button will appear that will display the Bundle contents. Don't use this with real Patient data! It's for testing and learning only.
Enter a query to retrieve a Bundle from an external source. This can be a FHIR query or the location of a saved Bundle. The full URL (including http: & server) must be entered. If you enter a name then you will have the option to save this query in the local browser store for later re-use. Don't use this to query for real Patient data! It's for testing and learning only.
The full query (incl. http) eg http://myserver/Patient?name=hay


Required if the query is to be saved

If the query is saved, this is a description of what it contains
{{executedQueryBundle | json}}


If a query response is paged, all pages will be retrieved.

Executed query
{{executedQuery}}
These are queries previously saved in the browser cache that you can re-execute. You are also able to add them to the Library which means that anyone else can access this query.. Select the query you wish to execute and details plus the 'Run query' button will appear to the right.
Name Query In library
{{item.name}} {{item.qry}} {{item.inLibrary}}
Name:
{{input.savedQuery.name}}

Description:
{{input.savedQuery.description}}



If a query response is paged, all pages will be retrieved.
These are queries that others have saved to the Library so that they are available to anyone. Select the query you wish to execute and details plus the 'Run query' button will appear to the right.
Tags

NameQueryTags
{{item.name}} {{item.qry}}
{{tag}}
Name:
{{input.libraryQuery.name}}

Description:
{{input.libraryQuery.description}}

These are Bundles that others have saved to the Library so that they are available to anyone. Select the Bundle to view then click the 'Retrieve bundle' button that appears to the right.
NameDescriptionAuthorShow in Patient ViewerResourceDate
{{bundle.name}} {{bundle.description}} {{bundle.author}} {{bundle.showInPV ? 'Yes' : 'No'}} {{bundle.entryCount}} {{bundle.date | date}}
There are over 200 resources in this Graph. The full graph won't be shown, though the rest of the functionality is fine. Validation will likely be slow as well.

Bundle entries {{fhir.entry.length}}
{{es.type}} {{es.entries.length}}
{{entry.resource.text.div | cleanTextDiv | limitTo:50}}
Id: {{entry.resource.id}}
{{es.type}}
{{entry.resource.text.div | cleanTextDiv | limitTo:50}}
Id: {{entry.resource.id}}
{{entry.resource.resourceType}} {{hashErrors[$index].length}}
{{entry.resource.text.div | cleanTextDiv | limitTo:50}}
Id: {{entry.resource.id}}
{{selectedBundleEntry.resource | json}}
{{selectedBundleEntry | json}}
This resource has no .text element.



Double click to select a resource and make it the focus
{{selectedFromSingleGraph | json}}
{{selectedFshFromSingleGraph}}

{{obs.code.text || obs.code.coding[0].display}}
{{obs.valueCodeableConcept.text}} {{obs.valueString}} {{obs.valueQuantity.value}} {{obs.valueQuantity.unit}}

{{base64Decode(selectedBundleEntry.resource.data)}}
Errors {{selectedBundleEntryErrors.length}}
{{err.severity}} {{err.diagnostics}} {{err.details.text}}
{{ex}}
{{location}}

Notes
  • "Resource should have narrative..." means you're missing the .text element
  • "Unable to resolve resource..." errors simply mean that the referenced resource was not found on the Validation server. These can generally be ignored.
{{xmlText}}
This is transformed from the resource using the Lantana library
{{fshText}}
This is transformed from the resource using the Mitre GoFsh library
References from the Composition.section
{{section.title}}
{{entry.reference}}
{{resourceFromSection | json}}
Expansion {{selectedBundleEntry.resource.expansion.contains.length}}
{{concept.code}}
{{concept.system}}
{{concept.version}}
{{concept.display}}
Canonicals {{hashRefsByResource[selectedBundleEntry.resource.id].length}}
{{hashRefsByResource[selectedBundleEntry.resource.id] | json}}
The full graph is not displayed for bundles with more than {{maxForGraph}} entries as it is too slow to render - and is a bit of a mess anyway.

Graphs for individual resources are still shown in the Bundle entries tab - in the 'References' sub-tab.
Hide Patient
{{selectedNode.entry.resource | json}}
{{selectedNode.entry | json}}

{{obs.text.div | cleanTextDiv}}
{{coding.display}}
{{obs.valueCodeableConcept.text}} {{obs.valueString}} {{obs.valueQuantity.value}} {{obs.valueQuantity.unit}}
{{selectedCanResource | json}}
Expansion {{selectedCanResource.expansion.contains.length}}
{{concept.code}}
{{concept.system}}
{{concept.version}}
{{concept.display}}
Canonicals {{hashRefsByResource[selectedCanResource.id].length}}
{{hashRefsByResource[selectedCanResource.id] | json}}
Validation {{validationResult.issue.length}}

Uses Ontoserver for validation. Excludes 'missing text element' and won't validate profiled resources. May take a few seconds for the validation to be completed.

Resources with issues

{{v.resource.resourceType}} {{v.issues.length}}

Issues

  • {{iss.diagnostics}}
    {{iss.location[0]}}

Resource (Details)

{{input.selectedIssueByResource.resource | json}}
Reference errors {{graphErrors.length}} References to missing resources found while building the graph

{{err.msg}}

Specify the Validation Server to use. Useful for profiled resources (eg conformant to an Implementation Guide) where the profiles are on a specific server.
The server returned an error code while performing the Validation operation. The error details are shown. This *should* be an error in the actual operation rather than an issue with the Bundle itself.


Error {{input.issErrorCount}}
Warning {{input.issWarningCount}}
Information {{input.issInfoCount}}

SeverityDiagnosticsLocation
{{iss.severity}} {{iss.diagnostics}} {{iss.location[0]}}
Select Server
Add Server
{{extendedIssueResource | json}}

Resources with issues

{{v.resource.resourceType}} {{v.issues.length}}

Issues

  • {{iss.diagnostics}}
    {{iss.location[0]}}

Resource

{{input.selectedIssueByResource.resource | json}}
{{iss.diagnostics}}
{{issueResource | json}}
{{validationResult | json}}
Derived from the resources in the Bundle





This display is generated from the MedicationRequest and MedicationStatement resources

This display is generated from the AllergyIntolerance resources

This display is generated from the Procedure resources

{{cpSummary | json}}

  {{fhir | json}}