From 65389ec5d5f1d4c0448979e22aad9e60de3c71bd Mon Sep 17 00:00:00 2001 From: Shaumik-Ashraf Date: Mon, 10 Jun 2024 16:07:20 -0400 Subject: [PATCH] Server test fixes 20240610 (#11) * add yaml to gemspec * add useful assertion messages in coverage to link minimal data set * debug * replace example.org with mitre.org in the preset --- ...x_payer_server_fhir_foundry_ri_preset.json | 2 +- davinci_pdex_test_kit.gemspec | 2 ++ .../coverage_to_link_has_minimal_data_test.rb | 25 ++++++++++--------- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/config/presets/pdex_payer_server_fhir_foundry_ri_preset.json b/config/presets/pdex_payer_server_fhir_foundry_ri_preset.json index 9c602f3..c8a0473 100644 --- a/config/presets/pdex_payer_server_fhir_foundry_ri_preset.json +++ b/config/presets/pdex_payer_server_fhir_foundry_ri_preset.json @@ -18,7 +18,7 @@ }, { "name": "member_match_request", - "value": "{\n \"resourceType\": \"Parameters\",\n \"id\": \"member-match-in\",\n \"parameter\": [\n {\n \"name\": \"MemberPatient\",\n \"resource\": {\n \"resourceType\" : \"Patient\",\n \"id\" : \"1\",\n \"meta\" : {\n \"lastUpdated\" : \"2019-07-07T13:26:22.0314215+00:00\",\n \"profile\" : [\"http:\/\/hl7.org\/fhir\/us\/core\/StructureDefinition\/us-core-patient\"]\n },\n \"language\" : \"en-US\",\n \"text\" : {\n \"status\" : \"generated\",\n \"div\" : \"

Johnny Appleseed <\/b> male, DoB: 1986-01-01 ( Member Number:\\u00a0https:\/\/www.xxxhealthplan.com\/fhir\/memberidentifier#1234-234-1243-12345678901)<\/p>
Active:<\/td>true<\/td>Marital Status:<\/td>unknown<\/span><\/td><\/tr>
Other Ids:<\/td>
  • Medical record number:\\u00a01234-234-1243-12345678901m<\/li>
  • Health Plan Identifier:\\u00a01234-234-1243-12345678901u<\/li>
  • Patient external identifier:\\u00a01234-234-1243-12345678901a<\/li><\/ul><\/td><\/tr>
Contact Details:<\/td>