From 36dbc1ea2915520c542bc567e99735597b3c04c3 Mon Sep 17 00:00:00 2001 From: hilary egesa Date: Tue, 30 Jul 2024 12:00:57 +0300 Subject: [PATCH 01/11] replace joins with select --- .../postgres/StocksRepositoryImpl.java | 24 +++--- .../custom/xml/CustomEventMetadataMapper.xml | 77 +++++++++---------- 2 files changed, 49 insertions(+), 52 deletions(-) diff --git a/src/main/java/org/opensrp/repository/postgres/StocksRepositoryImpl.java b/src/main/java/org/opensrp/repository/postgres/StocksRepositoryImpl.java index 795d1b15e..5e91868ee 100755 --- a/src/main/java/org/opensrp/repository/postgres/StocksRepositoryImpl.java +++ b/src/main/java/org/opensrp/repository/postgres/StocksRepositoryImpl.java @@ -36,7 +36,7 @@ public class StocksRepositoryImpl extends BaseRepositoryImpl implements S @Autowired private CustomStockMapper stockMapper; - + @Autowired private CustomStockMetadataMapper stockMetadataMapper; @@ -49,45 +49,45 @@ public Stock get(String id) { return null; } org.opensrp.domain.postgres.Stock pgStock = stockMetadataMapper.selectByDocumentId(id); - + return convert(pgStock); } - + @Transactional @Override public void add(Stock entity) { if (entity == null) { return; } - + if (retrievePrimaryKey(entity) != null) { //Stock already added return; } - + if (StringUtils.isBlank(entity.getId())) entity.setId(UUID.randomUUID().toString()); setRevision(entity); - + org.opensrp.domain.postgres.Stock pgStock = convert(entity, null); if (pgStock == null) { throw new IllegalStateException(); } - + int rowsAffected = stockMapper.insertSelectiveAndSetId(pgStock); - + if (rowsAffected < 1 || pgStock.getId() == null) { throw new IllegalStateException(); } - + updateServerVersion(pgStock, entity); - + StockMetadata stockMetadata = createMetadata(entity, pgStock.getId()); if (stockMetadata != null) { stockMetadataMapper.insertSelective(stockMetadata); } - + } - + private void updateServerVersion(org.opensrp.domain.postgres.Stock pgStock, Stock entity) { long serverVersion = stockMapper.selectServerVersionByPrimaryKey(pgStock.getId()); entity.setServerVersion(serverVersion); diff --git a/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml b/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml index 6cd6d39e7..97c698219 100644 --- a/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml +++ b/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml @@ -1,12 +1,11 @@ - + + typeHandler="org.opensrp.repository.postgres.handler.EventTypeHandler" /> @@ -34,7 +33,7 @@ and em.${criterion.condition} + open="(" separator=","> #{listItem} @@ -49,7 +48,7 @@ + separator="or"> @@ -68,7 +67,7 @@ and em.${criterion.condition} + open="(" separator=","> #{listItem} @@ -81,16 +80,16 @@ - + - - + - - + From e47b8b72fc1a9f5dfa43f64307dac2889a793d45 Mon Sep 17 00:00:00 2001 From: hilary egesa Date: Tue, 30 Jul 2024 16:52:23 +0300 Subject: [PATCH 02/11] removed configs submodule --- src/main/java/org/opensrp/resources/maven.properties | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 src/main/java/org/opensrp/resources/maven.properties diff --git a/src/main/java/org/opensrp/resources/maven.properties b/src/main/java/org/opensrp/resources/maven.properties new file mode 100644 index 000000000..e69de29bb From 2d9e9c78f50e9b6e27a818bc07896e668dce7d51 Mon Sep 17 00:00:00 2001 From: hilary egesa Date: Tue, 30 Jul 2024 16:53:10 +0300 Subject: [PATCH 03/11] removed configs submodule --- .gitmodules | 4 ---- configs | 1 - 2 files changed, 5 deletions(-) delete mode 160000 configs diff --git a/.gitmodules b/.gitmodules index 697f13c5f..e69de29bb 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +0,0 @@ -[submodule "configs"] - path = configs - url = https://github.com/OpenSRP/opensrp-server-configs - branch = master diff --git a/configs b/configs deleted file mode 160000 index c9552e1cf..000000000 --- a/configs +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c9552e1cfbc9438f7ee90416b8fd2e2e57989ed5 From f3da741d48f290a8851fce3226649b9770f2a882 Mon Sep 17 00:00:00 2001 From: hilary egesa Date: Wed, 31 Jul 2024 12:55:35 +0300 Subject: [PATCH 04/11] revert all queries maintain subquery for selectMany1 Please enter the commit message for your changes. Lines starting --- .gitmodules | 3 + configs | 1 + pom.xml | 2 +- .../postgres/StocksRepositoryImpl.java | 36 +++++------ .../custom/xml/CustomEventMetadataMapper.xml | 62 ++++++++++--------- 5 files changed, 57 insertions(+), 47 deletions(-) create mode 160000 configs diff --git a/.gitmodules b/.gitmodules index e69de29bb..7a36010c3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "configs"] + path = configs + url = git@github.com:opensrp/opensrp-server-configs.git diff --git a/configs b/configs new file mode 160000 index 000000000..c9552e1cf --- /dev/null +++ b/configs @@ -0,0 +1 @@ +Subproject commit c9552e1cfbc9438f7ee90416b8fd2e2e57989ed5 diff --git a/pom.xml b/pom.xml index 1222301ce..bd7719198 100755 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ opensrp-server-core jar - 2.14.9-SNAPSHOT + 2.14.10-ALPHA-SNAPSHOT opensrp-server-core OpenSRP Server Core module https://github.com/OpenSRP/opensrp-server-core diff --git a/src/main/java/org/opensrp/repository/postgres/StocksRepositoryImpl.java b/src/main/java/org/opensrp/repository/postgres/StocksRepositoryImpl.java index 5e91868ee..c744ddcb1 100755 --- a/src/main/java/org/opensrp/repository/postgres/StocksRepositoryImpl.java +++ b/src/main/java/org/opensrp/repository/postgres/StocksRepositoryImpl.java @@ -98,85 +98,85 @@ private void updateServerVersion(org.opensrp.domain.postgres.Stock pgStock, Stoc throw new IllegalStateException(); } } - + @Transactional @Override public void update(Stock entity) { if (entity == null) { return; } - + Long id = retrievePrimaryKey(entity); if (id == null) { // Stock not added throw new IllegalStateException(); } - + setRevision(entity); org.opensrp.domain.postgres.Stock pgStock = convert(entity, id); if (pgStock == null) { throw new IllegalStateException(); } - - - + + + int rowsAffected = stockMapper.updateByPrimaryKeyAndGenerateServerVersion(pgStock); if (rowsAffected < 1) { throw new IllegalStateException(); } updateServerVersion(pgStock, entity); - + StockMetadata stockMetadata = createMetadata(entity, id); if (stockMetadata == null) { throw new IllegalStateException(); } - + StockMetadataExample stockMetadataExample = new StockMetadataExample(); stockMetadataExample.createCriteria().andStockIdEqualTo(id); stockMetadata.setId(stockMetadataMapper.selectByExample(stockMetadataExample).get(0).getId()); stockMetadataMapper.updateByPrimaryKey(stockMetadata); - + } - + @Override public List getAll() { List stocks = stockMetadataMapper.selectMany(new StockMetadataExample(), 0, DEFAULT_FETCH_SIZE); return convert(stocks); } - + @Override public void safeRemove(Stock entity) { if (entity == null) { return; } - + Long id = retrievePrimaryKey(entity); if (id == null) { return; } - + StockMetadataExample stockMetadataExample = new StockMetadataExample(); stockMetadataExample.createCriteria().andStockIdEqualTo(id); int rowsAffected = stockMetadataMapper.deleteByExample(stockMetadataExample); if (rowsAffected < 1) { return; } - + stockMapper.deleteByPrimaryKey(id); - + } - + @Override public List findAllByProviderid(String providerid) { StockMetadataExample stockMetadataExample = new StockMetadataExample(); stockMetadataExample.createCriteria().andProviderIdEqualTo(providerid); return convert(stockMetadataMapper.selectMany(stockMetadataExample, 0, DEFAULT_FETCH_SIZE)); } - + /** * implements the method equivalent in couch repository that return stocks matching stock type * id - * + * * @param stockType the stock type * @param stockTypeId the stock type id * @return list of stock of a particluar stock type id diff --git a/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml b/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml index 97c698219..472def0cd 100644 --- a/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml +++ b/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml @@ -80,16 +80,16 @@ + + + From 08ad175ef1337a768bae7fe17af4ed7b5fdb3471 Mon Sep 17 00:00:00 2001 From: hilary egesa Date: Wed, 31 Jul 2024 12:55:35 +0300 Subject: [PATCH 05/11] revert all but selectMany query --- .gitmodules | 3 + configs | 1 + pom.xml | 2 +- .../postgres/StocksRepositoryImpl.java | 36 +++++------ .../custom/xml/CustomEventMetadataMapper.xml | 62 ++++++++++--------- 5 files changed, 57 insertions(+), 47 deletions(-) create mode 160000 configs diff --git a/.gitmodules b/.gitmodules index e69de29bb..7a36010c3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "configs"] + path = configs + url = git@github.com:opensrp/opensrp-server-configs.git diff --git a/configs b/configs new file mode 160000 index 000000000..c9552e1cf --- /dev/null +++ b/configs @@ -0,0 +1 @@ +Subproject commit c9552e1cfbc9438f7ee90416b8fd2e2e57989ed5 diff --git a/pom.xml b/pom.xml index 1222301ce..bd7719198 100755 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ opensrp-server-core jar - 2.14.9-SNAPSHOT + 2.14.10-ALPHA-SNAPSHOT opensrp-server-core OpenSRP Server Core module https://github.com/OpenSRP/opensrp-server-core diff --git a/src/main/java/org/opensrp/repository/postgres/StocksRepositoryImpl.java b/src/main/java/org/opensrp/repository/postgres/StocksRepositoryImpl.java index 5e91868ee..c744ddcb1 100755 --- a/src/main/java/org/opensrp/repository/postgres/StocksRepositoryImpl.java +++ b/src/main/java/org/opensrp/repository/postgres/StocksRepositoryImpl.java @@ -98,85 +98,85 @@ private void updateServerVersion(org.opensrp.domain.postgres.Stock pgStock, Stoc throw new IllegalStateException(); } } - + @Transactional @Override public void update(Stock entity) { if (entity == null) { return; } - + Long id = retrievePrimaryKey(entity); if (id == null) { // Stock not added throw new IllegalStateException(); } - + setRevision(entity); org.opensrp.domain.postgres.Stock pgStock = convert(entity, id); if (pgStock == null) { throw new IllegalStateException(); } - - - + + + int rowsAffected = stockMapper.updateByPrimaryKeyAndGenerateServerVersion(pgStock); if (rowsAffected < 1) { throw new IllegalStateException(); } updateServerVersion(pgStock, entity); - + StockMetadata stockMetadata = createMetadata(entity, id); if (stockMetadata == null) { throw new IllegalStateException(); } - + StockMetadataExample stockMetadataExample = new StockMetadataExample(); stockMetadataExample.createCriteria().andStockIdEqualTo(id); stockMetadata.setId(stockMetadataMapper.selectByExample(stockMetadataExample).get(0).getId()); stockMetadataMapper.updateByPrimaryKey(stockMetadata); - + } - + @Override public List getAll() { List stocks = stockMetadataMapper.selectMany(new StockMetadataExample(), 0, DEFAULT_FETCH_SIZE); return convert(stocks); } - + @Override public void safeRemove(Stock entity) { if (entity == null) { return; } - + Long id = retrievePrimaryKey(entity); if (id == null) { return; } - + StockMetadataExample stockMetadataExample = new StockMetadataExample(); stockMetadataExample.createCriteria().andStockIdEqualTo(id); int rowsAffected = stockMetadataMapper.deleteByExample(stockMetadataExample); if (rowsAffected < 1) { return; } - + stockMapper.deleteByPrimaryKey(id); - + } - + @Override public List findAllByProviderid(String providerid) { StockMetadataExample stockMetadataExample = new StockMetadataExample(); stockMetadataExample.createCriteria().andProviderIdEqualTo(providerid); return convert(stockMetadataMapper.selectMany(stockMetadataExample, 0, DEFAULT_FETCH_SIZE)); } - + /** * implements the method equivalent in couch repository that return stocks matching stock type * id - * + * * @param stockType the stock type * @param stockTypeId the stock type id * @return list of stock of a particluar stock type id diff --git a/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml b/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml index 97c698219..472def0cd 100644 --- a/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml +++ b/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml @@ -80,16 +80,16 @@ + + + From 082c8d6829fec15ffe3391a214db6611a699d9f0 Mon Sep 17 00:00:00 2001 From: hilary egesa Date: Wed, 31 Jul 2024 13:44:48 +0300 Subject: [PATCH 06/11] update other queries except selectManyWithRowBounds --- .../custom/xml/CustomEventMetadataMapper.xml | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml b/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml index 472def0cd..5ceaf5d08 100644 --- a/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml +++ b/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml @@ -80,12 +80,12 @@ @@ -197,10 +197,10 @@ resultMap="BaseEventResultMap"> select - from core.event_metadata em - join core.event e on em.event_id = e.id - where em.base_entity_id= #{baseEntityId,jdbcType=VARCHAR} and - em.plan_identifier = #{planIdentifier,jdbcType=VARCHAR} + from core.event e + where e.id = (select em.event_id from core.event_metadata em + where em.base_entity_id = #{baseEntityId,jdbcType=VARCHAR} and + em.plan_identifier = #{planIdentifier,jdbcType=VARCHAR}) From 2dc75d60454a7e5528f0ed52aa9189d033bcce7d Mon Sep 17 00:00:00 2001 From: hilary egesa Date: Thu, 1 Aug 2024 09:40:24 +0300 Subject: [PATCH 07/11] migrate selectManyWithRowBounds to using subquery --- .../mapper/custom/xml/CustomEventMetadataMapper.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml b/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml index 5ceaf5d08..48583277e 100644 --- a/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml +++ b/src/main/java/org/opensrp/repository/postgres/mapper/custom/xml/CustomEventMetadataMapper.xml @@ -151,17 +151,18 @@ distinct - from core.event_metadata em - inner join core.event e on em.event_id = e.id + from core.event e + where e.id in (select em.event_id from core.event_metadata em - + ) - order by em.${example.orderByClause} + order by ${example.orderByClause} LIMIT #{limit} OFFSET #{offset} + diff --git a/src/test/resources/test-scripts/event.sql b/src/test/resources/test-scripts/event.sql index aa73d986b..bf6eeba42 100644 --- a/src/test/resources/test-scripts/event.sql +++ b/src/test/resources/test-scripts/event.sql @@ -8,30 +8,29 @@ ALTER SEQUENCE core.event_id_seq RESTART WITH 16; ALTER SEQUENCE core.event_metadata_id_seq RESTART WITH 16; --insert data -INSERT INTO core.event (id, json, date_deleted) VALUES -(1, '{"_id": "05934ae338431f28bf6793b2417696bf", "obs": [{"values": ["2018-03-13"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "162586AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "mr_1", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "162586AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "mr_1_dose", "humanReadableValues": []}], "type": "Event", "version": 1520941739448, "duration": 0, "_rev": "1-069bfb5078ff17f922c0bba799222878", "eventDate": "2018-03-13T17:42:03.326+03:00", "eventType": "Vaccination", "entityType": "vaccination", "locationId": "42b88545-7ebb-4e11-8d1a-3d3a924c8af4", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:26.477+03:00", "identifiers": {}, "baseEntityId": "ea1f9439-a663-4073-93b9-6ef2b8bca3c1", "serverVersion": 1520945634380, "formSubmissionId": "29243014-48df-4165-a82d-f4878f6a830e"}', null), -(2, '{"_id": "05934ae338431f28bf6793b24199e690", "obs": [{"values": ["2018-03-14 10:31:33"], "fieldCode": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "start", "formSubmissionField": "start", "humanReadableValues": []}, {"values": ["2018-03-14 10:39:56"], "fieldCode": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "end", "formSubmissionField": "end", "humanReadableValues": []}, {"values": ["867104020634913"], "fieldCode": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "deviceid", "formSubmissionField": "deviceid", "humanReadableValues": []}], "type": "Event", "version": 1521016796414, "duration": 0, "_rev": "2-615390b17f8f2f9e9aa92f5f4a8a7aaf", "eventDate": "2018-03-14T03:00:00.000+03:00", "eventType": "New Woman Registration", "dateEdited": "2018-03-14T11:39:35.826+03:00", "entityType": "mother", "locationId": "42abc582-6658-488b-922e-7be500c070f3", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:28.717+03:00", "identifiers": {"OPENMRS_UUID": "d3630a60-a1f4-4267-9225-f4cb728f4178"}, "baseEntityId": "43930c23-c787-4ddb-ab76-770f77e7b17d", "serverVersion": 1521016638453, "formSubmissionId": "6b3243e9-3d45-495c-af69-f012061def01"}', null), -(3, '{"_id": "05934ae338431f28bf6793b2419c64fb", "obs": [{"values": ["2018-03-14"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "36AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "measles_1", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "36AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "measles_1_dose", "humanReadableValues": []}], "type": "Event", "version": 1521033238310, "duration": 0, "_rev": "1-dff06b7575a5177c7200b08570d14f4b", "eventDate": "2018-03-14T19:09:51.379+03:00", "eventType": "Vaccination", "entityType": "vaccination", "locationId": "42b88545-7ebb-4e11-8d1a-3d3a924c8af4", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:28.750+03:00", "identifiers": {}, "baseEntityId": "ea1f9439-a663-4073-93b9-6ef2b8bca3c1", "serverVersion": 1521033533700, "formSubmissionId": "bfbfabe8-d4ae-4db2-940f-a6f126ef7829"}', null), -(4, '{"_id": "05934ae338431f28bf6793b2419c319a", "obs": [{"values": ["2018-03-13"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "36AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "measles_1_", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "36AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "measles_1__dose", "humanReadableValues": []}], "type": "Event", "version": 1521044035486, "duration": 0, "_rev": "3-2d669093b06c73fcd5c0fa7c4782e21d", "eventDate": "2018-03-13T22:10:00.321+03:00", "eventType": "Vaccination", "dateEdited": "2018-03-14T19:21:38.401+03:00", "entityType": "vaccination", "locationId": "42b88545-7ebb-4e11-8d1a-3d3a924c8af4", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:29.019+03:00", "identifiers": {}, "baseEntityId": "ea1f9439-a663-4073-93b9-6ef2b8bca3c1", "serverVersion": 1521044588444, "formSubmissionId": "d960046a-e2a0-4bbf-b687-d41c2a52d8c8"}', null), -(5, '{"_id": "05934ae338431f28bf6793b241bdb88c", "obs": [{"values": ["42abc582-6658-488b-922e-7be500c070f3"], "fieldCode": "Home_Facility", "fieldType": "formsubmissionField", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "Home_Facility", "humanReadableValues": []}, {"values": ["2018-02-16"], "fieldCode": "163260AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "date", "formSubmissionField": "First_Health_Facility_Contact", "humanReadableValues": []}, {"values": ["2.5"], "fieldCode": "5916AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "Birth_Weight", "humanReadableValues": []}, {"values": ["1588AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"], "fieldCode": "1572AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "select one", "formSubmissionField": "Place_Birth", "humanReadableValues": ["Health facility"]}, {"values": ["Happy Kids Clinic"], "fieldCode": "163531AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "Birth_Facility_Name", "humanReadableValues": []}, {"values": ["664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"], "fieldCode": "1396AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "PMTCT_Status", "humanReadableValues": ["CNE"]}, {"values": ["2018-03-16 08:57:43"], "fieldCode": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "start", "formSubmissionField": "start", "humanReadableValues": []}, {"values": ["2018-03-16 08:59:04"], "fieldCode": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "end", "formSubmissionField": "end", "humanReadableValues": []}, {"values": ["867104020633980"], "fieldCode": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "deviceid", "formSubmissionField": "deviceid", "humanReadableValues": []}], "type": "Event", "version": 1521183544980, "duration": 0, "_rev": "2-04d992d294837437d5fc099fae979049", "eventDate": "2018-03-16T03:00:00.000+03:00", "eventType": "Birth Registration", "dateEdited": "2018-03-16T10:03:00.759+03:00", "entityType": "child", "locationId": "42abc582-6658-488b-922e-7be500c070f3", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:29.364+03:00", "identifiers": {"OPENMRS_UUID": "06c8644b-b560-45fd-9af5-b6b1484e3504"}, "baseEntityId": "58b33379-dab2-4f5c-8f09-6d2bd63023d8", "serverVersion": 1521183592609, "formSubmissionId": "d59504cc-09ef-4d09-9dc3-8f7eb65882fd"}', null), -(6, '{"_id": "05934ae338431f28bf6793b241bdbb60", "obs": [{"values": ["2018-01-10"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "783AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "opv_0", "humanReadableValues": []}, {"values": ["0"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "783AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "opv_0_dose", "humanReadableValues": []}], "type": "Event", "version": 1521183602537, "duration": 0, "_rev": "2-45e4b7c82520480edbc1adecec55f6ae", "eventDate": "2018-01-10T11:59:37.380+03:00", "eventType": "Vaccination", "dateEdited": "2018-03-16T10:03:00.949+03:00", "entityType": "vaccination", "locationId": "42abc582-6658-488b-922e-7be500c070f3", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:29.371+03:00", "identifiers": {"OPENMRS_UUID": "35d6a414-a379-4ada-97ee-39f680eecb91"}, "baseEntityId": "58b33379-dab2-4f5c-8f09-6d2bd63023d8", "serverVersion": 1521183593424, "formSubmissionId": "baf8e663-71a1-4a30-8d40-2f3cab45a6d7"}', null), -(7, '{"_id": "05934ae338431f28bf6793b241bdbc55", "obs": [{"values": ["2018-01-10"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "886AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "bcg", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "886AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "bcg_dose", "humanReadableValues": []}], "type": "Event", "version": 1521183602575, "duration": 0, "_rev": "2-1f5e07f8e65a09d5ca34cb21e6a29b41", "eventDate": "2018-01-10T11:59:41.058+03:00", "eventType": "Vaccination", "dateEdited": "2018-03-16T10:03:01.148+03:00", "entityType": "vaccination", "locationId": "42abc582-6658-488b-922e-7be500c070f3", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:29.376+03:00", "identifiers": {"OPENMRS_UUID": "94ec8561-14ab-48d1-a6d4-4ae05191f6e6"}, "baseEntityId": "58b33379-dab2-4f5c-8f09-6d2bd63023d8", "serverVersion": 1521183593424, "formSubmissionId": "014413c8-4dbf-4876-977d-0c1dfb9e4d05"}', null), -(8, '{"_id": "05934ae338431f28bf6793b241bdc231", "obs": [{"values": ["2018-02-21"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "1685AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "penta_1", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "1685AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "penta_1_dose", "humanReadableValues": []}], "type": "Event", "version": 1521183602635, "duration": 0, "_rev": "2-ad81df44c1f2eaba862585dd8918a16e", "eventDate": "2018-02-21T11:59:50.145+03:00", "eventType": "Vaccination", "dateEdited": "2018-03-16T10:03:01.341+03:00", "entityType": "vaccination", "locationId": "42abc582-6658-488b-922e-7be500c070f3", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:29.385+03:00", "identifiers": {"OPENMRS_UUID": "85abab15-0be3-4a9d-962d-de99a920d3cb"}, "baseEntityId": "58b33379-dab2-4f5c-8f09-6d2bd63023d8", "serverVersion": 1521183593424, "formSubmissionId": "5f1b201d-2132-4eb9-8fa1-3169a61cc50a"}', null), -(9, '{"_id": "05934ae338431f28bf6793b241bdc3df", "obs": [{"values": ["2018-02-21"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "783AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "opv_1", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "783AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "opv_1_dose", "humanReadableValues": []}], "type": "Event", "version": 1521183602672, "duration": 0, "_rev": "2-9f892924c7e9afe675bdb9f9a3d6231f", "eventDate": "2018-02-21T11:59:55.977+03:00", "eventType": "Vaccination", "dateEdited": "2018-03-16T10:03:01.537+03:00", "entityType": "vaccination", "locationId": "42abc582-6658-488b-922e-7be500c070f3", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:29.390+03:00", "identifiers": {"OPENMRS_UUID": "28baa742-4a00-480f-9fff-12629c765cc2"}, "baseEntityId": "58b33379-dab2-4f5c-8f09-6d2bd63023d8", "team":"ATeam", "teamId":"3453hgb454-4j345n-llk345","serverVersion": 1521183593424, "formSubmissionId": "4bc04bbe-bb2f-4e4e-b123-0c6131b91fec"}', null), -(10, '{"_id": "05934ae338431f28bf6793b241bdc44a", "obs": [{"values": ["2018-02-21"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "159698AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "rota_1", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "159698AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "rota_1_dose", "humanReadableValues": []}], "type": "Event", "version": 1521183602735, "duration": 0, "_rev": "2-3514437b6b19290b16b49714bf0182e8", "eventDate": "2018-02-21T12:00:02.298+03:00", "eventType": "Vaccination", "dateEdited": "2018-03-16T10:03:01.729+03:00", "entityType": "vaccination", "locationId": "42abc582-6658-488b-922e-7be500c070f3", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:29.394+03:00", "identifiers": {"OPENMRS_UUID": "34701637-5c2f-4483-a05e-46df003990ef"}, "baseEntityId": "58b33379-dab2-4f5c-8f09-6d2bd63023d8","team":"ATeam", "teamId":"3453hgb454-4j345n-llk345", "serverVersion": 1521183593424, "formSubmissionId": "6947237c-5e2b-4ccd-953b-dd8b019e0484"}', null), -(11, '{"_id": "05934ae338431f28bf6793b241be69a5", "obs": [{"values": ["2018-02-21"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "162342AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "pcv_1", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "162342AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "pcv_1_dose", "humanReadableValues": []}], "type": "Event", "version": 1521183849328, "duration": 0, "_rev": "2-1ef09e6758ecd9f2adaa1eb35e143a7b", "eventDate": "2018-02-21T12:00:08.788+03:00", "eventType": "Vaccination", "dateEdited": "2018-03-16T10:13:03.469+03:00", "entityType": "vaccination", "locationId": "42abc582-6658-488b-922e-7be500c070f3", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:29.398+03:00", "identifiers": {"OPENMRS_UUID": "4aecc0c1-e008-4227-938d-66db17236a3d"}, "baseEntityId": "58b33379-dab2-4f5c-8f09-6d2bd63023d8", "team":"ATeam", "teamId":"3453hgb454-4j345n-llk345","serverVersion": 1521184133098, "formSubmissionId": "d6c08393-ebde-4faa-ac94-11429c1233dd"}', null), -(12, '{"_id": "05934ae338431f28bf6793b24177a1dc", "obs": [{"values": ["8.6"], "fieldCode": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "decimal", "formSubmissionField": "Weight_Kgs", "humanReadableValues": []}, {"values": ["-0.3160736521259359"], "fieldCode": "162584AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "calculation", "formSubmissionField": "Z_Score_Weight_Age", "humanReadableValues": []}], "type": "Event", "version": 1521468856705, "duration": 0, "_rev": "65-9ed92fd61bd67d89325ee3ea35c3f3cb", "eventDate": "2018-01-13T19:37:11.954+03:00", "eventType": "Growth Monitoring", "dateEdited": "2018-03-19T17:17:15.649+03:00", "entityType": "weight", "locationId": "42b88545-7ebb-4e11-8d1a-3d3a924c8af4", "providerId": "biddemo", "dateCreated": "2018-03-19T17:28:40.255+03:00", "identifiers": {}, "baseEntityId": "ea1f9439-a663-4073-93b9-6ef2b8bca3c1", "serverVersion": 1521469045587, "formSubmissionId": "306b6dc2-fa15-4e48-9ac3-4f8044899051"}', null), -(13, '{"_id": "05934ae338431f28bf6793b241780bac", "obs": [{"values": ["11.8"], "fieldCode": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "decimal", "formSubmissionField": "Weight_Kgs", "humanReadableValues": []}, {"values": ["2.0903075436287146"], "fieldCode": "162584AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "calculation", "formSubmissionField": "Z_Score_Weight_Age", "humanReadableValues": []}], "type": "Event", "version": 1521468857114, "duration": 0, "_rev": "65-81466693915e45bc1feb1f8ccc466475", "eventDate": "2018-03-12T19:40:01.023+03:00", "eventType": "Growth Monitoring", "dateEdited": "2018-03-19T17:17:15.789+03:00", "entityType": "weight", "locationId": "42b88545-7ebb-4e11-8d1a-3d3a924c8af4", "providerId": "biddemo", "dateCreated": "2018-03-19T17:28:40.260+03:00", "identifiers": {}, "baseEntityId": "ea1f9439-a663-4073-93b9-6ef2b8bca3c1", "serverVersion": 1521469045588, "formSubmissionId": "9bd94f7b-d7f5-4e38-bc0d-2fa7eb84dad3"}', null), -(14, '{"_id": "05934ae338431f28bf6793b241781149", "obs": [{"values": ["7.6"], "fieldCode": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "decimal", "formSubmissionField": "Weight_Kgs", "humanReadableValues": []}, {"values": ["0.10700349151262006"], "fieldCode": "162584AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "calculation", "formSubmissionField": "Z_Score_Weight_Age", "humanReadableValues": []}], "type": "Event", "version": 1521468857524, "duration": 0, "_rev": "65-9a91db1bb8e76c4c8a163c282c5d7479", "eventDate": "2017-09-06T19:40:24.702+03:00", "eventType": "Growth Monitoring", "dateEdited": "2018-03-19T17:17:15.929+03:00", "entityType": "weight", "locationId": "42b88545-7ebb-4e11-8d1a-3d3a924c8af5", "providerId": "biddemo2", "dateCreated": "2018-03-19T17:28:40.264+03:00", "identifiers": {}, "baseEntityId": "ea1f9439-a663-4073-93b9-6ef2b8bca3c1", "serverVersion": 1521469045589, "formSubmissionId": "31c4a45a-09f4-4b01-abe8-a87526827df6"}', null), -(15, '{"_id": "05934ae338431f28bf6793b241781a1e", "obs": [{"values": ["9.3"], "fieldCode": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "decimal", "formSubmissionField": "Weight_Kgs", "humanReadableValues": []}, {"values": ["1.0535868964441777"], "fieldCode": "162584AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "calculation", "formSubmissionField": "Z_Score_Weight_Age", "humanReadableValues": []}], "type": "Event", "version": 1521468857912, "duration": 0, "_rev": "65-bb37dd0fda12683a31217d1157d86539", "eventDate": "2017-11-06T19:42:02.327+03:00", "eventType": "Growth Monitoring", "dateEdited": "2018-03-19T17:17:16.069+03:00", "entityType": "weight", "locationId": "42b88545-7ebb-4e11-8d1a-3d3a924c8af5", "providerId": "biddemo2", "dateCreated": "2018-03-19T17:28:40.268+03:00", "identifiers": {}, "baseEntityId": "ea1f9439-a663-4073-93b9-6ef2b8bca3c1", "serverVersion": 1521469045590, "formSubmissionId": "3f66450e-2b66-43da-9b9b-dae5fced764f"}', null), -(20, '{"_id": "34166bde-2d40-4cb9-aec7-d8e4feb47c53", "obs": [{"values": ["ea0edc48-4752-4ad0-a834-f1f68c7ae310"], "fieldCode": "relational_id", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "relational_id", "humanReadableValues": []}, {"values": ["14-10-2019"], "fieldCode": "1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "last_menstrual_period", "humanReadableValues": []}, {"values": ["4 weeks"], "fieldCode": "gest_age_note", "fieldType": "formsubmissionField", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "gest_age_note", "humanReadableValues": []}, {"values": ["20-07-2020"], "fieldCode": "edd_note", "fieldType": "formsubmissionField", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "edd_note", "humanReadableValues": []}, {"values": ["4"], "fieldCode": "1438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "gest_age", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "no_prev_preg", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "no_prev_preg", "humanReadableValues": []}, {"values": ["2"], "fieldCode": "5624AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "gravida", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "164894AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "no_surv_children", "humanReadableValues": []}, {"values": ["01712112332"], "fieldCode": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "phone_number", "humanReadableValues": []}, {"values": ["5555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"], "fieldCode": "1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "select one", "formSubmissionField": "marital_status", "humanReadableValues": ["Married"]}, {"values": ["2019-11-14 18:57:08"], "fieldCode": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "start", "formSubmissionField": "start", "humanReadableValues": []}, {"values": ["2019-11-14 18:57:34"], "fieldCode": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "end", "formSubmissionField": "end", "humanReadableValues": []}, {"values": ["862349034710275"], "fieldCode": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "deviceid", "formSubmissionField": "deviceid", "humanReadableValues": []}, {"values": ["470010842368429"], "fieldCode": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "subscriberid", "formSubmissionField": "subscriberid", "humanReadableValues": []}, {"values": ["8988010408423684290f"], "fieldCode": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "simserial", "formSubmissionField": "simserial", "humanReadableValues": []}], "_rev": "v1", "team": "mPower", "type": "Event", "teamId": "3def4192-61ec-440d-af0b-d16ee1ecc262", "version": 1573736254643, "duration": 0, "eventDate": "2019-11-14T06:00:00.000+06:00", "eventType": "ANC Registration", "locationId": "e3170b23-bb22-42a4-875d-35c7f32c28ae", "providerId": "tanvir", "dateCreated": "2019-11-14T18:57:36.055+06:00", "identifiers": {}, "baseEntityId": "8a118521-126b-4d5e-9c3b-0b359671bbae", "serverVersion": 1573736256054, "formSubmissionId": "f5865190-0971-4e45-ae94-364de7b6ec73", "clientDatabaseVersion": 12, "clientApplicationVersion": 9}', null), -(21, '{"_id": "66c1ffdc-697c-4d31-b50d-6396ccb6368c", "obs": [{"values": ["2019-11-14 18:15:34"], "fieldCode": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "start", "formSubmissionField": "start", "humanReadableValues": []}, {"values": ["2019-11-14 18:19:07"], "fieldCode": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "end", "formSubmissionField": "end", "humanReadableValues": []}, {"values": ["862349034710275"], "fieldCode": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "deviceid", "formSubmissionField": "deviceid", "humanReadableValues": []}, {"values": ["470010842368429"], "fieldCode": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "subscriberid", "formSubmissionField": "subscriberid", "humanReadableValues": []}, {"values": ["8988010408423684290f"], "fieldCode": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "simserial", "formSubmissionField": "simserial", "humanReadableValues": []}], "_rev": "v1", "team": "mPower", "type": "Event", "teamId": "3def4192-61ec-440d-af0b-d16ee1ecc262", "version": 1573733948047, "duration": 0, "eventDate": "2019-11-14T06:00:00.000+06:00", "eventType": "Family Registration", "entityType": "ec_family", "locationId": "e3170b23-bb22-42a4-875d-35c7f32c28ae", "providerId": "tanvir", "dateCreated": "2019-11-14T18:19:13.534+06:00", "identifiers": {}, "baseEntityId": "ea0edc48-4752-4ad0-a834-f1f68c7ae310", "serverVersion": 1573733953533, "formSubmissionId": "128ad86c-522b-407c-9cbb-6e4d86f6dc44", "clientDatabaseVersion": 12, "clientApplicationVersion": 9}', null), -(22, '{"_id": "f9db43e1-1b15-4d26-ba56-29136edb73d6", "obs": [{"values": ["Moni"], "fieldCode": "", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "surname", "humanReadableValues": []}, {"values": ["Jahan"], "fieldCode": "", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "fam_name", "humanReadableValues": []}, {"values": ["1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"], "fieldCode": "159522AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "physically_challenged", "humanReadableValues": ["No"]}, {"values": ["2019-11-14 17:39:58"], "fieldCode": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "start", "formSubmissionField": "start", "humanReadableValues": []}, {"values": ["2019-11-14 17:40:14"], "fieldCode": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "end", "formSubmissionField": "end", "humanReadableValues": []}, {"values": ["862349034710275"], "fieldCode": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "deviceid", "formSubmissionField": "deviceid", "humanReadableValues": []}, {"values": ["470010842368429"], "fieldCode": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "subscriberid", "formSubmissionField": "subscriberid", "humanReadableValues": []}, {"values": ["8988010408423684290f"], "fieldCode": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "simserial", "formSubmissionField": "simserial", "humanReadableValues": []}], "_rev": "v1", "team": "ONA", "type": "Event", "teamId": "1d9effde-f745-45a0-bcc3-ae86424062cd", "version": 1573731614871, "duration": 0, "eventDate": "2019-11-14T06:00:00.000+06:00", "eventType": "Child Registration", "entityType": "ec_child", "locationId": "ce39f858-a2f6-4676-8db1-81fbb1891b01", "providerId": "ona", "dateCreated": "2019-11-14T17:40:23.102+06:00", "identifiers": {}, "baseEntityId": "98adc983-01e6-4755-b110-5111d98dbd45", "serverVersion": 1573731623102, "formSubmissionId": "2aa8df2d-65dd-4a7f-b2e1-6661f3e284f7", "clientDatabaseVersion": 12, "clientApplicationVersion": 9}', null), -(23, '{"_id": "18a43e36-5701-4afc-b901-8eb4ce0e2002", "obs": [{"values": ["2019-11-14 17:38:41"], "fieldCode": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "start", "formSubmissionField": "start", "humanReadableValues": []}, {"values": ["2019-11-14 17:39:30"], "fieldCode": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "end", "formSubmissionField": "end", "humanReadableValues": []}, {"values": ["862349034710275"], "fieldCode": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "deviceid", "formSubmissionField": "deviceid", "humanReadableValues": []}, {"values": ["470010842368429"], "fieldCode": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "subscriberid", "formSubmissionField": "subscriberid", "humanReadableValues": []}, {"values": ["8988010408423684290f"], "fieldCode": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "simserial", "formSubmissionField": "simserial", "humanReadableValues": []}], "_rev": "v1", "team": "ONA", "type": "Event", "teamId": "1d9effde-f745-45a0-bcc3-ae86424062cd", "version": 1573731570597, "duration": 0, "eventDate": "2019-11-14T06:00:00.000+06:00", "eventType": "Family Registration", "entityType": "ec_family", "locationId": "ce39f858-a2f6-4676-8db1-81fbb1891b01", "providerId": "ona", "dateCreated": "2019-11-14T17:39:37.864+06:00", "identifiers": {}, "baseEntityId": "f69de82f-0608-45c8-8347-6b7044aa8d8d", "serverVersion": 1573731577863, "formSubmissionId": "062f23c4-d464-4dee-a1c3-3fe80886238f", "clientDatabaseVersion": 12, "clientApplicationVersion": 9}', null), -(24, '{"_id": "cfcc0e7e3cef11eab77f2e728ce88125", "obs": [{"values": ["9.3"], "fieldCode": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "decimal", "formSubmissionField": "Weight_Kgs", "humanReadableValues": []}, {"values": ["1.0535868964441777"], "fieldCode": "162584AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "calculation", "formSubmissionField": "Z_Score_Weight_Age", "humanReadableValues": []}], "type": "Event", "version": 1521468857912, "duration": 0, "_rev": "65-bb37dd0fda12683a31217d1157d86532", "eventDate": "2017-11-06T19:42:02.327+03:00", "eventType": "Growth Monitoring", "dateEdited": "2018-03-19T17:17:16.069+03:00", "entityType": "weight", "locationId": "42b88545-7ebb-4e11-8d1a-3d3a924c8tyw", "providerId": "finddemo", "dateCreated": "2018-03-19T17:28:40.268+03:00", "identifiers": {}, "baseEntityId": "ea1f9439-a663-4073-93b9-6ef2b8bca453", "serverVersion": 1521469045590, "formSubmissionId": "3f66450e-2b66-43da-9b9b-dae5fcedrte2"}', '2018-03-19T17:17:16.069+03:00'), -(25, '{"_id": "d945f800-eeca-415e-b737-e5611e19f706", "obs": [{"values": ["22222222222"], "fieldCode": "163084AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "national_id", "humanReadableValues": []}, {"values": ["Haran"], "fieldCode": "", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "surname", "humanReadableValues": []}, {"values": ["01712332332"], "fieldCode": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "phone_number", "humanReadableValues": []}, {"values": [null], "fieldCode": "1712AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "select one", "formSubmissionField": "highest_edu_level", "humanReadableValues": ["Highest education level"]}, {"values": ["2019-11-14 18:15:34"], "fieldCode": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "start", "formSubmissionField": "start", "humanReadableValues": []}, {"values": ["2019-11-14 18:19:07"], "fieldCode": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "end", "formSubmissionField": "end", "humanReadableValues": []}, {"values": ["862349034710275"], "fieldCode": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "deviceid", "formSubmissionField": "deviceid", "humanReadableValues": []}, {"values": ["470010842368429"], "fieldCode": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "subscriberid", "formSubmissionField": "subscriberid", "humanReadableValues": []}, {"values": ["8988010408423684290f"], "fieldCode": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "simserial", "formSubmissionField": "simserial", "humanReadableValues": []}], "_rev": "v1", "team": "mPower", "type": "Event", "teamId": "3def4192-61ec-440d-af0b-d16ee1ecc262", "version": 1573733948056, "duration": 0, "eventDate": "2019-11-14T06:00:00.000+06:00", "eventType": "Family Member Registration", "entityType": "ec_family_member", "locationId": "e3170b23-bb22-42a4-875d-35c7f32c28ae", "providerId": "tanvir", "dateCreated": "2019-11-14T18:19:13.540+06:00", "identifiers": {}, "baseEntityId": "0830ce5e-21ff-4f28-8a67-d820f0ff15bc", "serverVersion": 1573733953534, "formSubmissionId": "49180e06-eed8-40b1-a9ea-c29c8b46c68a", "clientDatabaseVersion": 12, "clientApplicationVersion": 9}', null), -(26, '{"type":"Event","dateCreated":"2021-01-19T17:27:28.750+03:00","identifiers":{},"baseEntityId":"58b33379-dab2-4f5c-8f09-6d2bd63023d8","locationId":"e3170b23-bb22-42a4-875d-35c7f32c28ae","eventDate":"2020-07-19","eventType":"Recurring Service","formSubmissionId":"ed3870eb-e683-49d2-abe4-63b6f159b6df","providerId":"tanvir","duration":0,"obs":[{"fieldType":"concept","fieldDataType":"coded","fieldCode":"161534AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","values":["1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"],"set":[],"formSubmissionField":"vit_a_2","humanReadableValues":["yes"],"saveObsAsArray":false},{"fieldType":"concept","fieldDataType":"numeric","fieldCode":"1639AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","values":["2"],"set":[],"formSubmissionField":"vit_a_2_dose","humanReadableValues":[],"saveObsAsArray":false}],"entityType":"recurring_service","details":{},"teamId":"3def4192-61ec-440d-af0b-d16ee1ecc262","team":"mPower","_id":"81228b7f-b336-440e-9428-ebfba225ad17","_rev":"v1", "serverVersion": 1521469045592}', null); - +INSERT INTO core.event (id, json, server_version, date_deleted) VALUES +(1, '{"_id": "05934ae338431f28bf6793b2417696bf", "obs": [{"values": ["2018-03-13"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "162586AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "mr_1", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "162586AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "mr_1_dose", "humanReadableValues": []}], "type": "Event", "version": 1520941739448, "duration": 0, "_rev": "1-069bfb5078ff17f922c0bba799222878", "eventDate": "2018-03-13T17:42:03.326+03:00", "eventType": "Vaccination", "entityType": "vaccination", "locationId": "42b88545-7ebb-4e11-8d1a-3d3a924c8af4", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:26.477+03:00", "identifiers": {}, "baseEntityId": "ea1f9439-a663-4073-93b9-6ef2b8bca3c1", "serverVersion": 1520945634380, "formSubmissionId": "29243014-48df-4165-a82d-f4878f6a830e"}', 1520945634380, null), +(2, '{"_id": "05934ae338431f28bf6793b24199e690", "obs": [{"values": ["2018-03-14 10:31:33"], "fieldCode": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "start", "formSubmissionField": "start", "humanReadableValues": []}, {"values": ["2018-03-14 10:39:56"], "fieldCode": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "end", "formSubmissionField": "end", "humanReadableValues": []}, {"values": ["867104020634913"], "fieldCode": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "deviceid", "formSubmissionField": "deviceid", "humanReadableValues": []}], "type": "Event", "version": 1521016796414, "duration": 0, "_rev": "2-615390b17f8f2f9e9aa92f5f4a8a7aaf", "eventDate": "2018-03-14T03:00:00.000+03:00", "eventType": "New Woman Registration", "dateEdited": "2018-03-14T11:39:35.826+03:00", "entityType": "mother", "locationId": "42abc582-6658-488b-922e-7be500c070f3", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:28.717+03:00", "identifiers": {"OPENMRS_UUID": "d3630a60-a1f4-4267-9225-f4cb728f4178"}, "baseEntityId": "43930c23-c787-4ddb-ab76-770f77e7b17d", "serverVersion": 1521016638453, "formSubmissionId": "6b3243e9-3d45-495c-af69-f012061def01"}', 1521016638453, null), +(3, '{"_id": "05934ae338431f28bf6793b2419c64fb", "obs": [{"values": ["2018-03-14"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "36AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "measles_1", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "36AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "measles_1_dose", "humanReadableValues": []}], "type": "Event", "version": 1521033238310, "duration": 0, "_rev": "1-dff06b7575a5177c7200b08570d14f4b", "eventDate": "2018-03-14T19:09:51.379+03:00", "eventType": "Vaccination", "entityType": "vaccination", "locationId": "42b88545-7ebb-4e11-8d1a-3d3a924c8af4", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:28.750+03:00", "identifiers": {}, "baseEntityId": "ea1f9439-a663-4073-93b9-6ef2b8bca3c1", "serverVersion": 1521033533700, "formSubmissionId": "bfbfabe8-d4ae-4db2-940f-a6f126ef7829"}', 1521033533700, null), +(4, '{"_id": "05934ae338431f28bf6793b2419c319a", "obs": [{"values": ["2018-03-13"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "36AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "measles_1_", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "36AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "measles_1__dose", "humanReadableValues": []}], "type": "Event", "version": 1521044035486, "duration": 0, "_rev": "3-2d669093b06c73fcd5c0fa7c4782e21d", "eventDate": "2018-03-13T22:10:00.321+03:00", "eventType": "Vaccination", "dateEdited": "2018-03-14T19:21:38.401+03:00", "entityType": "vaccination", "locationId": "42b88545-7ebb-4e11-8d1a-3d3a924c8af4", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:29.019+03:00", "identifiers": {}, "baseEntityId": "ea1f9439-a663-4073-93b9-6ef2b8bca3c1", "serverVersion": 1521044588444, "formSubmissionId": "d960046a-e2a0-4bbf-b687-d41c2a52d8c8"}', 1521044588444, null), +(5, '{"_id": "05934ae338431f28bf6793b241bdb88c", "obs": [{"values": ["42abc582-6658-488b-922e-7be500c070f3"], "fieldCode": "Home_Facility", "fieldType": "formsubmissionField", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "Home_Facility", "humanReadableValues": []}, {"values": ["2018-02-16"], "fieldCode": "163260AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "date", "formSubmissionField": "First_Health_Facility_Contact", "humanReadableValues": []}, {"values": ["2.5"], "fieldCode": "5916AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "Birth_Weight", "humanReadableValues": []}, {"values": ["1588AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"], "fieldCode": "1572AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "select one", "formSubmissionField": "Place_Birth", "humanReadableValues": ["Health facility"]}, {"values": ["Happy Kids Clinic"], "fieldCode": "163531AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "Birth_Facility_Name", "humanReadableValues": []}, {"values": ["664AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"], "fieldCode": "1396AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "PMTCT_Status", "humanReadableValues": ["CNE"]}, {"values": ["2018-03-16 08:57:43"], "fieldCode": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "start", "formSubmissionField": "start", "humanReadableValues": []}, {"values": ["2018-03-16 08:59:04"], "fieldCode": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "end", "formSubmissionField": "end", "humanReadableValues": []}, {"values": ["867104020633980"], "fieldCode": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "deviceid", "formSubmissionField": "deviceid", "humanReadableValues": []}], "type": "Event", "version": 1521183544980, "duration": 0, "_rev": "2-04d992d294837437d5fc099fae979049", "eventDate": "2018-03-16T03:00:00.000+03:00", "eventType": "Birth Registration", "dateEdited": "2018-03-16T10:03:00.759+03:00", "entityType": "child", "locationId": "42abc582-6658-488b-922e-7be500c070f3", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:29.364+03:00", "identifiers": {"OPENMRS_UUID": "06c8644b-b560-45fd-9af5-b6b1484e3504"}, "baseEntityId": "58b33379-dab2-4f5c-8f09-6d2bd63023d8", "serverVersion": 1521183592609, "formSubmissionId": "d59504cc-09ef-4d09-9dc3-8f7eb65882fd"}', 1521183592609, null), +(6, '{"_id": "05934ae338431f28bf6793b241bdbb60", "obs": [{"values": ["2018-01-10"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "783AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "opv_0", "humanReadableValues": []}, {"values": ["0"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "783AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "opv_0_dose", "humanReadableValues": []}], "type": "Event", "version": 1521183602537, "duration": 0, "_rev": "2-45e4b7c82520480edbc1adecec55f6ae", "eventDate": "2018-01-10T11:59:37.380+03:00", "eventType": "Vaccination", "dateEdited": "2018-03-16T10:03:00.949+03:00", "entityType": "vaccination", "locationId": "42abc582-6658-488b-922e-7be500c070f3", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:29.371+03:00", "identifiers": {"OPENMRS_UUID": "35d6a414-a379-4ada-97ee-39f680eecb91"}, "baseEntityId": "58b33379-dab2-4f5c-8f09-6d2bd63023d8", "serverVersion": 1521183593424, "formSubmissionId": "baf8e663-71a1-4a30-8d40-2f3cab45a6d7"}', 1521183593424, null), +(7, '{"_id": "05934ae338431f28bf6793b241bdbc55", "obs": [{"values": ["2018-01-10"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "886AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "bcg", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "886AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "bcg_dose", "humanReadableValues": []}], "type": "Event", "version": 1521183602575, "duration": 0, "_rev": "2-1f5e07f8e65a09d5ca34cb21e6a29b41", "eventDate": "2018-01-10T11:59:41.058+03:00", "eventType": "Vaccination", "dateEdited": "2018-03-16T10:03:01.148+03:00", "entityType": "vaccination", "locationId": "42abc582-6658-488b-922e-7be500c070f3", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:29.376+03:00", "identifiers": {"OPENMRS_UUID": "94ec8561-14ab-48d1-a6d4-4ae05191f6e6"}, "baseEntityId": "58b33379-dab2-4f5c-8f09-6d2bd63023d8", "serverVersion": 1521183593424, "formSubmissionId": "014413c8-4dbf-4876-977d-0c1dfb9e4d05"}', 1521183593424, null), +(8, '{"_id": "05934ae338431f28bf6793b241bdc231", "obs": [{"values": ["2018-02-21"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "1685AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "penta_1", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "1685AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "penta_1_dose", "humanReadableValues": []}], "type": "Event", "version": 1521183602635, "duration": 0, "_rev": "2-ad81df44c1f2eaba862585dd8918a16e", "eventDate": "2018-02-21T11:59:50.145+03:00", "eventType": "Vaccination", "dateEdited": "2018-03-16T10:03:01.341+03:00", "entityType": "vaccination", "locationId": "42abc582-6658-488b-922e-7be500c070f3", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:29.385+03:00", "identifiers": {"OPENMRS_UUID": "85abab15-0be3-4a9d-962d-de99a920d3cb"}, "baseEntityId": "58b33379-dab2-4f5c-8f09-6d2bd63023d8", "serverVersion": 1521183593424, "formSubmissionId": "5f1b201d-2132-4eb9-8fa1-3169a61cc50a"}', 1521183593424, null), +(9, '{"_id": "05934ae338431f28bf6793b241bdc3df", "obs": [{"values": ["2018-02-21"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "783AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "opv_1", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "783AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "opv_1_dose", "humanReadableValues": []}], "type": "Event", "version": 1521183602672, "duration": 0, "_rev": "2-9f892924c7e9afe675bdb9f9a3d6231f", "eventDate": "2018-02-21T11:59:55.977+03:00", "eventType": "Vaccination", "dateEdited": "2018-03-16T10:03:01.537+03:00", "entityType": "vaccination", "locationId": "42abc582-6658-488b-922e-7be500c070f3", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:29.390+03:00", "identifiers": {"OPENMRS_UUID": "28baa742-4a00-480f-9fff-12629c765cc2"}, "baseEntityId": "58b33379-dab2-4f5c-8f09-6d2bd63023d8", "team": "ATeam", "teamId": "3453hgb454-4j345n-llk345", "serverVersion": 1521183593424, "formSubmissionId": "4bc04bbe-bb2f-4e4e-b123-0c6131b91fec"}', 1521183593424, null), +(10, '{"_id": "05934ae338431f28bf6793b241bdc44a", "obs": [{"values": ["2018-02-21"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "159698AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "rota_1", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "159698AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "rota_1_dose", "humanReadableValues": []}], "type": "Event", "version": 1521183602735, "duration": 0, "_rev": "2-3514437b6b19290b16b49714bf0182e8", "eventDate": "2018-02-21T12:00:02.298+03:00", "eventType": "Vaccination", "dateEdited": "2018-03-16T10:03:01.729+03:00", "entityType": "vaccination", "locationId": "42abc582-6658-488b-922e-7be500c070f3", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:29.394+03:00", "identifiers": {"OPENMRS_UUID": "34701637-5c2f-4483-a05e-46df003990ef"}, "baseEntityId": "58b33379-dab2-4f5c-8f09-6d2bd63023d8", "team": "ATeam", "teamId": "3453hgb454-4j345n-llk345", "serverVersion": 1521183593424, "formSubmissionId": "6947237c-5e2b-4ccd-953b-dd8b019e0484"}', 1521183593424, null), +(11, '{"_id": "05934ae338431f28bf6793b241be69a5", "obs": [{"values": ["2018-02-21"], "fieldCode": "1410AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "162342AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "date", "formSubmissionField": "pcv_1", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "1418AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "162342AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldDataType": "calculate", "formSubmissionField": "pcv_1_dose", "humanReadableValues": []}], "type": "Event", "version": 1521183849328, "duration": 0, "_rev": "2-1ef09e6758ecd9f2adaa1eb35e143a7b", "eventDate": "2018-02-21T12:00:08.788+03:00", "eventType": "Vaccination", "dateEdited": "2018-03-16T10:13:03.469+03:00", "entityType": "vaccination", "locationId": "42abc582-6658-488b-922e-7be500c070f3", "providerId": "biddemo", "dateCreated": "2018-03-19T17:27:29.398+03:00", "identifiers": {"OPENMRS_UUID": "4aecc0c1-e008-4227-938d-66db17236a3d"}, "baseEntityId": "58b33379-dab2-4f5c-8f09-6d2bd63023d8", "team": "ATeam", "teamId": "3453hgb454-4j345n-llk345", "serverVersion": 1521184133098, "formSubmissionId": "d6c08393-ebde-4faa-ac94-11429c1233dd"}', 1521184133098, null), +(12, '{"_id": "05934ae338431f28bf6793b24177a1dc", "obs": [{"values": ["8.6"], "fieldCode": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "decimal", "formSubmissionField": "Weight_Kgs", "humanReadableValues": []}, {"values": ["-0.3160736521259359"], "fieldCode": "162584AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "calculation", "formSubmissionField": "Z_Score_Weight_Age", "humanReadableValues": []}], "type": "Event", "version": 1521468856705, "duration": 0, "_rev": "65-9ed92fd61bd67d89325ee3ea35c3f3cb", "eventDate": "2018-01-13T19:37:11.954+03:00", "eventType": "Growth Monitoring", "dateEdited": "2018-03-19T17:17:15.649+03:00", "entityType": "weight", "locationId": "42b88545-7ebb-4e11-8d1a-3d3a924c8af4", "providerId": "biddemo", "dateCreated": "2018-03-19T17:28:40.255+03:00", "identifiers": {}, "baseEntityId": "ea1f9439-a663-4073-93b9-6ef2b8bca3c1", "serverVersion": 1521469045587, "formSubmissionId": "306b6dc2-fa15-4e48-9ac3-4f8044899051"}', 1521469045587, null), +(13, '{"_id": "05934ae338431f28bf6793b241780bac", "obs": [{"values": ["11.8"], "fieldCode": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "decimal", "formSubmissionField": "Weight_Kgs", "humanReadableValues": []}, {"values": ["2.0903075436287146"], "fieldCode": "162584AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "calculation", "formSubmissionField": "Z_Score_Weight_Age", "humanReadableValues": []}], "type": "Event", "version": 1521468857114, "duration": 0, "_rev": "65-81466693915e45bc1feb1f8ccc466475", "eventDate": "2018-03-12T19:40:01.023+03:00", "eventType": "Growth Monitoring", "dateEdited": "2018-03-19T17:17:15.789+03:00", "entityType": "weight", "locationId": "42b88545-7ebb-4e11-8d1a-3d3a924c8af4", "providerId": "biddemo", "dateCreated": "2018-03-19T17:28:40.260+03:00", "identifiers": {}, "baseEntityId": "ea1f9439-a663-4073-93b9-6ef2b8bca3c1", "serverVersion": 1521469045588, "formSubmissionId": "9bd94f7b-d7f5-4e38-bc0d-2fa7eb84dad3"}', 1521469045588, null), +(14, '{"_id": "05934ae338431f28bf6793b241781149", "obs": [{"values": ["7.6"], "fieldCode": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "decimal", "formSubmissionField": "Weight_Kgs", "humanReadableValues": []}, {"values": ["0.10700349151262006"], "fieldCode": "162584AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "calculation", "formSubmissionField": "Z_Score_Weight_Age", "humanReadableValues": []}], "type": "Event", "version": 1521468857524, "duration": 0, "_rev": "65-9a91db1bb8e76c4c8a163c282c5d7479", "eventDate": "2017-09-06T19:40:24.702+03:00", "eventType": "Growth Monitoring", "dateEdited": "2018-03-19T17:17:15.929+03:00", "entityType": "weight", "locationId": "42b88545-7ebb-4e11-8d1a-3d3a924c8af5", "providerId": "biddemo2", "dateCreated": "2018-03-19T17:28:40.264+03:00", "identifiers": {}, "baseEntityId": "ea1f9439-a663-4073-93b9-6ef2b8bca3c1", "serverVersion": 1521469045589, "formSubmissionId": "31c4a45a-09f4-4b01-abe8-a87526827df6"}', 1521469045589, null), +(15, '{"_id": "05934ae338431f28bf6793b241781a1e", "obs": [{"values": ["9.3"], "fieldCode": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "decimal", "formSubmissionField": "Weight_Kgs", "humanReadableValues": []}, {"values": ["1.0535868964441777"], "fieldCode": "162584AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "calculation", "formSubmissionField": "Z_Score_Weight_Age", "humanReadableValues": []}], "type": "Event", "version": 1521468857912, "duration": 0, "_rev": "65-bb37dd0fda12683a31217d1157d86539", "eventDate": "2017-11-06T19:42:02.327+03:00", "eventType": "Growth Monitoring", "dateEdited": "2018-03-19T17:17:16.069+03:00", "entityType": "weight", "locationId": "42b88545-7ebb-4e11-8d1a-3d3a924c8af5", "providerId": "biddemo2", "dateCreated": "2018-03-19T17:28:40.268+03:00", "identifiers": {}, "baseEntityId": "ea1f9439-a663-4073-93b9-6ef2b8bca3c1", "serverVersion": 1521469045590, "formSubmissionId": "3f66450e-2b66-43da-9b9b-dae5fced764f"}', 1521469045590, null), +(20, '{"_id": "34166bde-2d40-4cb9-aec7-d8e4feb47c53", "obs": [{"values": ["ea0edc48-4752-4ad0-a834-f1f68c7ae310"], "fieldCode": "relational_id", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "relational_id", "humanReadableValues": []}, {"values": ["14-10-2019"], "fieldCode": "1427AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "last_menstrual_period", "humanReadableValues": []}, {"values": ["4 weeks"], "fieldCode": "gest_age_note", "fieldType": "formsubmissionField", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "gest_age_note", "humanReadableValues": []}, {"values": ["20-07-2020"], "fieldCode": "edd_note", "fieldType": "formsubmissionField", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "edd_note", "humanReadableValues": []}, {"values": ["4"], "fieldCode": "1438AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "gest_age", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "no_prev_preg", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "no_prev_preg", "humanReadableValues": []}, {"values": ["2"], "fieldCode": "5624AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "gravida", "humanReadableValues": []}, {"values": ["1"], "fieldCode": "164894AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "no_surv_children", "humanReadableValues": []}, {"values": ["01712112332"], "fieldCode": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "phone_number", "humanReadableValues": []}, {"values": ["5555AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"], "fieldCode": "1054AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "select one", "formSubmissionField": "marital_status", "humanReadableValues": ["Married"]}, {"values": ["2019-11-14 18:57:08"], "fieldCode": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "start", "formSubmissionField": "start", "humanReadableValues": []}, {"values": ["2019-11-14 18:57:34"], "fieldCode": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "end", "formSubmissionField": "end", "humanReadableValues": []}, {"values": ["862349034710275"], "fieldCode": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "deviceid", "formSubmissionField": "deviceid", "humanReadableValues": []}, {"values": ["470010842368429"], "fieldCode": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "subscriberid", "formSubmissionField": "subscriberid", "humanReadableValues": []}, {"values": ["8988010408423684290f"], "fieldCode": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "simserial", "formSubmissionField": "simserial", "humanReadableValues": []}], "_rev": "v1", "team": "mPower", "type": "Event", "teamId": "3def4192-61ec-440d-af0b-d16ee1ecc262", "version": 1573736254643, "duration": 0, "eventDate": "2019-11-14T06:00:00.000+06:00", "eventType": "ANC Registration", "locationId": "e3170b23-bb22-42a4-875d-35c7f32c28ae", "providerId": "tanvir", "dateCreated": "2019-11-14T18:57:36.055+06:00", "identifiers": {}, "baseEntityId": "8a118521-126b-4d5e-9c3b-0b359671bbae", "serverVersion": 1573736256054, "formSubmissionId": "f5865190-0971-4e45-ae94-364de7b6ec73", "clientDatabaseVersion": 12, "clientApplicationVersion": 9}', 1573736256054, null), +(21, '{"_id": "66c1ffdc-697c-4d31-b50d-6396ccb6368c", "obs": [{"values": ["2019-11-14 18:15:34"], "fieldCode": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "start", "formSubmissionField": "start", "humanReadableValues": []}, {"values": ["2019-11-14 18:19:07"], "fieldCode": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "end", "formSubmissionField": "end", "humanReadableValues": []}, {"values": ["862349034710275"], "fieldCode": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "deviceid", "formSubmissionField": "deviceid", "humanReadableValues": []}, {"values": ["470010842368429"], "fieldCode": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "subscriberid", "formSubmissionField": "subscriberid", "humanReadableValues": []}, {"values": ["8988010408423684290f"], "fieldCode": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "simserial", "formSubmissionField": "simserial", "humanReadableValues": []}], "_rev": "v1", "team": "mPower", "type": "Event", "teamId": "3def4192-61ec-440d-af0b-d16ee1ecc262", "version": 1573733948047, "duration": 0, "eventDate": "2019-11-14T06:00:00.000+06:00", "eventType": "Family Registration", "entityType": "ec_family", "locationId": "e3170b23-bb22-42a4-875d-35c7f32c28ae", "providerId": "tanvir", "dateCreated": "2019-11-14T18:19:13.534+06:00", "identifiers": {}, "baseEntityId": "ea0edc48-4752-4ad0-a834-f1f68c7ae310", "serverVersion": 1573733953533, "formSubmissionId": "128ad86c-522b-407c-9cbb-6e4d86f6dc44", "clientDatabaseVersion": 12, "clientApplicationVersion": 9}', 1573733953533, null), +(22, '{"_id": "f9db43e1-1b15-4d26-ba56-29136edb73d6", "obs": [{"values": ["Moni"], "fieldCode": "", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "surname", "humanReadableValues": []}, {"values": ["Jahan"], "fieldCode": "", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "fam_name", "humanReadableValues": []}, {"values": ["1066AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"], "fieldCode": "159522AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "physically_challenged", "humanReadableValues": ["No"]}, {"values": ["2019-11-14 17:39:58"], "fieldCode": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "start", "formSubmissionField": "start", "humanReadableValues": []}, {"values": ["2019-11-14 17:40:14"], "fieldCode": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "end", "formSubmissionField": "end", "humanReadableValues": []}, {"values": ["862349034710275"], "fieldCode": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "deviceid", "formSubmissionField": "deviceid", "humanReadableValues": []}, {"values": ["470010842368429"], "fieldCode": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "subscriberid", "formSubmissionField": "subscriberid", "humanReadableValues": []}, {"values": ["8988010408423684290f"], "fieldCode": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "simserial", "formSubmissionField": "simserial", "humanReadableValues": []}], "_rev": "v1", "team": "ONA", "type": "Event", "teamId": "1d9effde-f745-45a0-bcc3-ae86424062cd", "version": 1573731614871, "duration": 0, "eventDate": "2019-11-14T06:00:00.000+06:00", "eventType": "Child Registration", "entityType": "ec_child", "locationId": "ce39f858-a2f6-4676-8db1-81fbb1891b01", "providerId": "ona", "dateCreated": "2019-11-14T17:40:23.102+06:00", "identifiers": {}, "baseEntityId": "98adc983-01e6-4755-b110-5111d98dbd45", "serverVersion": 1573731623102, "formSubmissionId": "2aa8df2d-65dd-4a7f-b2e1-6661f3e284f7", "clientDatabaseVersion": 12, "clientApplicationVersion": 9}', 1573731623102, null), +(23, '{"_id": "18a43e36-5701-4afc-b901-8eb4ce0e2002", "obs": [{"values": ["2019-11-14 17:38:41"], "fieldCode": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "start", "formSubmissionField": "start", "humanReadableValues": []}, {"values": ["2019-11-14 17:39:30"], "fieldCode": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "end", "formSubmissionField": "end", "humanReadableValues": []}, {"values": ["862349034710275"], "fieldCode": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "deviceid", "formSubmissionField": "deviceid", "humanReadableValues": []}, {"values": ["470010842368429"], "fieldCode": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "subscriberid", "formSubmissionField": "subscriberid", "humanReadableValues": []}, {"values": ["8988010408423684290f"], "fieldCode": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "simserial", "formSubmissionField": "simserial", "humanReadableValues": []}], "_rev": "v1", "team": "ONA", "type": "Event", "teamId": "1d9effde-f745-45a0-bcc3-ae86424062cd", "version": 1573731570597, "duration": 0, "eventDate": "2019-11-14T06:00:00.000+06:00", "eventType": "Family Registration", "entityType": "ec_family", "locationId": "ce39f858-a2f6-4676-8db1-81fbb1891b01", "providerId": "ona", "dateCreated": "2019-11-14T17:39:37.864+06:00", "identifiers": {}, "baseEntityId": "f69de82f-0608-45c8-8347-6b7044aa8d8d", "serverVersion": 1573731577863, "formSubmissionId": "062f23c4-d464-4dee-a1c3-3fe80886238f", "clientDatabaseVersion": 12, "clientApplicationVersion": 9}', 1573731577863, null), +(24, '{"_id": "cfcc0e7e3cef11eab77f2e728ce88125", "obs": [{"values": ["9.3"], "fieldCode": "5089AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "decimal", "formSubmissionField": "Weight_Kgs", "humanReadableValues": []}, {"values": ["1.0535868964441777"], "fieldCode": "162584AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "calculation", "formSubmissionField": "Z_Score_Weight_Age", "humanReadableValues": []}], "type": "Event", "version": 1521468857912, "duration": 0, "_rev": "65-bb37dd0fda12683a31217d1157d86532", "eventDate": "2017-11-06T19:42:02.327+03:00", "eventType": "Growth Monitoring", "dateEdited": "2018-03-19T17:17:16.069+03:00", "entityType": "weight", "locationId": "42b88545-7ebb-4e11-8d1a-3d3a924c8tyw", "providerId": "finddemo", "dateCreated": "2018-03-19T17:28:40.268+03:00", "identifiers": {}, "baseEntityId": "ea1f9439-a663-4073-93b9-6ef2b8bca453", "serverVersion": 1521469045590, "formSubmissionId": "3f66450e-2b66-43da-9b9b-dae5fcedrte2"}', 1521469045590, '2018-03-19T17:17:16.069+03:00'), +(25, '{"_id": "d945f800-eeca-415e-b737-e5611e19f706", "obs": [{"values": ["22222222222"], "fieldCode": "163084AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "national_id", "humanReadableValues": []}, {"values": ["Haran"], "fieldCode": "", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "surname", "humanReadableValues": []}, {"values": ["01712332332"], "fieldCode": "159635AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "text", "formSubmissionField": "phone_number", "humanReadableValues": []}, {"values": [null], "fieldCode": "1712AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "select one", "formSubmissionField": "highest_edu_level", "humanReadableValues": ["Highest education level"]}, {"values": ["2019-11-14 18:15:34"], "fieldCode": "163137AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "start", "formSubmissionField": "start", "humanReadableValues": []}, {"values": ["2019-11-14 18:19:07"], "fieldCode": "163138AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "end", "formSubmissionField": "end", "humanReadableValues": []}, {"values": ["862349034710275"], "fieldCode": "163149AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "deviceid", "formSubmissionField": "deviceid", "humanReadableValues": []}, {"values": ["470010842368429"], "fieldCode": "163150AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "subscriberid", "formSubmissionField": "subscriberid", "humanReadableValues": []}, {"values": ["8988010408423684290f"], "fieldCode": "163151AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "fieldType": "concept", "parentCode": "", "fieldDataType": "simserial", "formSubmissionField": "simserial", "humanReadableValues": []}], "_rev": "v1", "team": "mPower", "type": "Event", "teamId": "3def4192-61ec-440d-af0b-d16ee1ecc262", "version": 1573733948056, "duration": 0, "eventDate": "2019-11-14T06:00:00.000+06:00", "eventType": "Family Member Registration", "entityType": "ec_family_member", "locationId": "e3170b23-bb22-42a4-875d-35c7f32c28ae", "providerId": "tanvir", "dateCreated": "2019-11-14T18:19:13.540+06:00", "identifiers": {}, "baseEntityId": "0830ce5e-21ff-4f28-8a67-d820f0ff15bc", "serverVersion": 1573733953534, "formSubmissionId": "49180e06-eed8-40b1-a9ea-c29c8b46c68a", "clientDatabaseVersion": 12, "clientApplicationVersion": 9}', 1573733953534, null), +(26, '{"type": "Event", "dateCreated": "2021-01-19T17:27:28.750+03:00", "identifiers": {}, "baseEntityId": "58b33379-dab2-4f5c-8f09-6d2bd63023d8", "locationId": "e3170b23-bb22-42a4-875d-35c7f32c28ae", "eventDate": "2020-07-19", "eventType": "Recurring Service", "formSubmissionId": "ed3870eb-e683-49d2-abe4-63b6f159b6df", "providerId": "tanvir", "duration": 0, "obs": [{"fieldType": "concept", "fieldDataType": "coded", "fieldCode": "161534AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "values": ["1065AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"], "set": [], "formSubmissionField": "vit_a_2", "humanReadableValues": ["yes"], "saveObsAsArray": false}, {"fieldType": "concept", "fieldDataType": "numeric", "fieldCode": "1639AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "values": ["2"], "set": [], "formSubmissionField": "vit_a_2_dose", "humanReadableValues": [], "saveObsAsArray": false}], "entityType": "recurring_service", "details": {}, "teamId": "3def4192-61ec-440d-af0b-d16ee1ecc262", "team": "mPower", "_id": "81228b7f-b336-440e-9428-ebfba225ad17", "_rev": "v1", "serverVersion": 1521469045592}', 1521469045592, null); INSERT INTO core.event_metadata (id, event_id, document_id, base_entity_id, form_submission_id, server_version, openmrs_uuid, event_type, event_date, entity_type ,provider_id, location_id, team, team_id, date_created, date_edited, date_deleted) VALUES (1, 1, '05934ae338431f28bf6793b2417696bf', 'ea1f9439-a663-4073-93b9-6ef2b8bca3c1', '29243014-48df-4165-a82d-f4878f6a830e', 1520945634380, null, 'Vaccination', '2018-03-13 17:42:03.326000', 'vaccination', 'biddemo', '42b88545-7ebb-4e11-8d1a-3d3a924c8af4', null, null, '2018-03-19 17:27:26.477000', null, null), From 031ea6a6480085588d7d1716d12823c1944f8d92 Mon Sep 17 00:00:00 2001 From: hilary egesa Date: Wed, 14 Aug 2024 10:23:56 +0300 Subject: [PATCH 09/11] update version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index bd7719198..d1cc88c42 100755 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ opensrp-server-core jar - 2.14.10-ALPHA-SNAPSHOT + 2.14.10-ALPHA1-SNAPSHOT opensrp-server-core OpenSRP Server Core module https://github.com/OpenSRP/opensrp-server-core From 68f8a9fdca0ff9f68ab0e7bf94fe7a12897ed8a9 Mon Sep 17 00:00:00 2001 From: Hilary Baraka Egesa Date: Wed, 14 Aug 2024 11:20:10 +0300 Subject: [PATCH 10/11] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d1cc88c42..790696f06 100755 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ opensrp-server-core jar - 2.14.10-ALPHA1-SNAPSHOT + 2.14.10-ALPHA2-SNAPSHOT opensrp-server-core OpenSRP Server Core module https://github.com/OpenSRP/opensrp-server-core From 7c7193cde6d02f69cb01498d2a901cbf925b962c Mon Sep 17 00:00:00 2001 From: hilary egesa Date: Tue, 20 Aug 2024 09:14:21 +0300 Subject: [PATCH 11/11] update version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 790696f06..645e7e2dd 100755 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ opensrp-server-core jar - 2.14.10-ALPHA2-SNAPSHOT + 2.14.10-SNAPSHOT opensrp-server-core OpenSRP Server Core module https://github.com/OpenSRP/opensrp-server-core