...
Global Property | Detailss |
---|---|
fhir.isCustomerNarrativesEnabled | To enable custom narratives, this value need to be set to true. By default custom narratives generation is disabled in the server. |
fhir.customNarrativePropertiesPath | Once custom narratives enabled, the path of the narratives property file should be specified in here. |
Sample global property configuration screenshot
Sample custom narratives property file file(narratives.properties) content
Code Block | ||
---|---|---|
| ||
Patient.class=ca.uhn.fhir.model.dstu2.resource.Patient patient.narrative=file:/home/harsha/development/applications/Patient.html |
...
Code Block | ||
---|---|---|
| ||
<!--/* This top section is not exported as a part of the Narrative, it is only present so that this template can be viewed in a browser. --> <html> <head> <link rel="stylesheet" type="text/css" href="narrative.css"/> </head> <body> <!--*/--> <div> <div class="hapiHeaderText" th:if="${not resource.nameFirstRep.empty}" th:narrative="${resource.nameFirstRep}"/> <table class="hapiPropertyTable"> <tbody> </tbody> </table> </div> <!--/*--> </body> </html> <!--*/--> |
...