web stats
Mirth Community - View Single Post - Updated: FHIR: Request for Feedback
View Single Post
  #10  
Old 02-21-2018, 10:28 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,085
narupley is on a distinguished road
Default

Quote:
Originally Posted by kirbykn2 View Post
The webpage and conformance report is good feature. Being able to add/edit the content displayed here in the channel may be helpful. Also would this be the appropriate place to display the implementation guide or a link to it?
If you look in "extensions/fhir" in your installation directory (should be accessible via Appliance control panel too), there are a few things you can edit.

First are the files in public_html. These are HTML templates used for the overall look-and-feel of your webpage (template.html), as well as specific pages for loading the landing page and resources.

Then resource-specific template pages are in the narratives directory. There are two that ship with the technology preview by default, for Conformance and OperationOutcome (essentially your "error" page). You can add your own templates and provide links to them in narratives.properties. For example you'll see that for OperationOutcome there are the following lines:

Code:
operationoutcome.class=ca.uhn.fhir.model.dstu.resource.OperationOutcome
operationoutcome.narrative=file:extensions/fhir/narratives/OperationOutcome.html
There's a small blurb on this in the documentation, but we'll be sure to add more examples too.

Hope that helps!
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote