diff --git a/.editorconfig b/.editorconfig
index cd68918..904096d 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,5 +1,5 @@
[*.java]
charset = utf-8
-indent_style = space
-indent_size = 2
+indent_style = tab
+indent_size = 3
diff --git a/README.md b/README.md
index fa56b0b..12fb454 100644
--- a/README.md
+++ b/README.md
@@ -320,6 +320,10 @@ The server may be configured with subscription support by enabling properties in
Set `hapi.fhir.cql_enabled=true` in the [application.yaml](https://github.com/hapifhir/hapi-fhir-jpaserver-starter/blob/master/src/main/resources/application.yaml) file to enable [Clinical Quality Language](https://cql.hl7.org/) on this server.
+## Enabling MDM (EMPI)
+
+Set `hapi.fhir.mdm_enabled=true` in the [application.yaml](https://github.com/hapifhir/hapi-fhir-jpaserver-starter/blob/master/src/main/resources/application.yaml) file to enable MDM on this server. The MDM matching rules are configured in [mdm-rules.json](https://github.com/hapifhir/hapi-fhir-jpaserver-starter/blob/master/src/main/resources/mdm-rules.json). The rules in this example file should be replaced with actual matching rules appropriate to your data. Note that MDM relies on subscriptions, so for MDM to work, subscriptions must be enabled.
+
## Using Elasticsearch
By default, the server will use embedded lucene indexes for terminology and fulltext indexing purposes. You can switch this to using lucene by editing the properties in [application.yaml](https://github.com/hapifhir/hapi-fhir-jpaserver-starter/blob/master/src/main/resources/application.yaml)
@@ -328,9 +332,10 @@ For example:
```properties
elasticsearch.enabled=true
-elasticsearch.rest_url=http://localhost:9200
+elasticsearch.rest_url=localhost:9200
elasticsearch.username=SomeUsername
elasticsearch.password=SomePassword
+elasticsearch.protocol=http
elasticsearch.required_index_status=YELLOW
elasticsearch.schema_management_strategy=CREATE
```
diff --git a/pom.xml b/pom.xml
index 40252cd..f5b6e0e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,6 @@
8
- 2.3.4.RELEASE
@@ -107,6 +106,12 @@
hapi-fhir-jpaserver-cql
${project.version}
+
+
+ ca.uhn.hapi.fhir
+ hapi-fhir-jpaserver-mdm
+ ${project.version}
+
ca.uhn.hapi.fhir
@@ -235,6 +240,21 @@
jetty-webapp
test
+
+ org.testcontainers
+ testcontainers
+ test
+
+
+ org.testcontainers
+ elasticsearch
+ test
+
+
+ org.testcontainers
+ junit-jupiter
+ test
+