# Adjust this to set the version of FHIR supported by this server. See # FhirVersionEnum for a list of available constants. Example values include # DSTU2, DSTU3, R4. fhir_version=R4 # This is the address that the FHIR server will report as its own address. # If this server will be deployed (for example) to an internet accessible # server, put the DNS name of that server here. # # Note that this is also the address that the hapi-fhir-testpage-overlay # (the web UI similar to the one at http://hapi.fhir.org) will use to # connect internally to the FHIR server, so this also needs to be a name # accessible from the server itself. server_address=http://localhost:8080/hapi-fhir-jpaserver/fhir/ default_encoding=JSON etag_support=ENABLED reuse_cached_search_results_millis=-1 default_page_size=20 max_page_size=200 allow_override_default_search_params=true allow_contains_searches=true allow_multiple_delete=true allow_external_references=true allow_cascading_deletes=true allow_placeholder_references=true expunge_enabled=true persistence_unit_name=HAPI_PU logger.name=fhirtest.access logger.format=Path[${servletPath}] Source[${requestHeader.x-forwarded-for}] Operation[${operationType} ${operationName} ${idOrResourceName}] UA[${requestHeader.user-agent}] Params[${requestParameters}] ResponseEncoding[${responseEncodingNoDefault}] logger.error_format=ERROR - ${requestVerb} ${requestUrl} logger.log_exceptions=true datasource.driver=org.h2.Driver datasource.url=jdbc:h2:file:./target/database/h2 datasource.username= datasource.password= server.name=Local Tester server.id=home test.port= ################################################### # Validation ################################################### # Should all incoming requests be validated validation.requests.enabled=false # Should outgoing responses be validated validation.responses.enabled=false ################################################### # Search Features ################################################### filter_search.enabled=true graphql.enabled=true ################################################### # Supported Resources ################################################### # Enable the following property if you want to customize the # list of resources that is supported by the server (i.e. to # disable specific resources) #supported_resource_types=Patient,Observation,Encounter ################################################### # Database Settings ################################################### hibernate.dialect=org.hibernate.dialect.H2Dialect hibernate.search.model_mapping=ca.uhn.fhir.jpa.search.LuceneSearchMappingFactory hibernate.format_sql=false hibernate.show_sql=false hibernate.hbm2ddl.auto=update hibernate.jdbc.batch_size=20 hibernate.cache.use_query_cache=false hibernate.cache.use_second_level_cache=false hibernate.cache.use_structured_entries=false hibernate.cache.use_minimal_puts=false hibernate.search.default.directory_provider=filesystem hibernate.search.default.indexBase=target/lucenefiles hibernate.search.lucene_version=LUCENE_CURRENT tester.config.refuse_to_fetch_third_party_urls=false ################################################## # Binary Storage Operations ################################################## binary_storage.enabled=true ################################################## # CORS Settings ################################################## cors.enabled=true cors.allowCredentials=true # Supports multiple, comma separated allowed origin entries # cors.allowed_origin=http://localhost:8080,https://localhost:8080,https://fhirtest.uhn.ca cors.allow_origin=* ################################################## # Allowed Bundle Types for persistence (defaults are: COLLECTION,DOCUMENT,MESSAGE) ################################################## #allowedBundleTypes=COLLECTION,DOCUMENT,MESSAGE,TRANSACTION,TRANSACTIONRESPONSE,BATCH,BATCHRESPONSE,HISTORY,SEARCHSET ################################################## # Subscriptions ################################################## # Enable REST Hook Subscription Channel subscription.resthook.enabled=false # Enable Email Subscription Channel subscription.email.enabled=false email.enabled=false email.from=some@test.com email.host= email.port=0 email.username= email.password= # Enable Websocket Subscription Channel subscription.websocket.enabled=false