Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OZ-558: Make application.properties parsable from mkdocs #39

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 35 additions & 1 deletion odoo-openmrs/src/main/resources/config/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,14 @@ odoo.openmrs.enable.patient.sync=${ODOO_OPENMRS_ENABLE_PATIENT_SYNC:true}

# *********************** OpenMRS FHIR EIP Configuration ***************************************************************
#
# /mkdocs-start
# /mkdocs-config-enabled:true
# /mkdocs-config-name:eip.fhir.resources
# /mkdocs-config-description:List of FHIR resources the EIP route should listen to.
# /mkdocs-config-location:.env
# /mkdocs-config-possible-values:Patient, Encounter, Observation, Procedure, SupplyRequest
# /mkdocs-config-default-value:Patient, Encounter, Observation
# /mkdocs-end
# A comma separated list of FHIR resources, e.g., Patient, Encounter, Observation
eip.fhir.resources=${EIP_FHIR_RESOURCES}
# The URL of the FHIR server
Expand All @@ -168,8 +176,34 @@ eip.fhir.serverUrl=${EIP_FHIR_SERVER_URL}
eip.fhir.username=${EIP_FHIR_USERNAME:}
eip.fhir.password=${EIP_FHIR_PASSWORD:}

# /mkdocs-start
# /mkdocs-config-enabled:true
# /mkdocs-config-name:eip.weight.concept
# /mkdocs-config-description:Weight Concept id configured in OpenMRS
# /mkdocs-config-location:.env
# /mkdocs-config-possible-values:Any concept id, should be configured in OpenMRS and Odoo
# /mkdocs-config-default-value:5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
# /mkdocs-end
# Weight Concept
eip.weight.concept=${EIP_WEIGHT_CONCEPT:5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA}

# /mkdocs-start
# /mkdocs-config-enabled:true
# /mkdocs-config-name:eip.odoo.customer.weight.field
# /mkdocs-config-description:Enables sync of Patient weight in from OpenMRS to Odoo
# /mkdocs-config-location:.env
# /mkdocs-config-possible-values:Any string field, should be configured in Odoo initializer
# /mkdocs-config-default-value:x_customer_weight
# /mkdocs-end
odoo.customer.weight.field=${ODOO_CUSTOMER_WEIGHT_FIELD:x_customer_weight}

# /mkdocs-start
# /mkdocs-config-enabled:true
# /mkdocs-config-name:odoo.customer.dob.field
# /mkdocs-config-description:Enables sync of Patient date of birth in from OpenMRS to Odoo
# /mkdocs-config-location:.env
# /mkdocs-config-possible-values:Any string field, should be configured in Odoo initializer
# /mkdocs-config-default-value:x_customer_dob
# /mkdocs-end
odoo.customer.dob.field=${ODOO_CUSTOMER_DOB_FIELD:x_customer_dob}
# ----------------------------------------------------------------------------------------------------------------------
# ----------------------------------------------------------------------------------------------------------------------
Loading