@@ -72,7 +72,17 @@ public void checkOperationExistsOnServer() throws Exception {
72
72
73
73
@ Override
74
74
public List <String > getRequiredProfiles () {
75
- return Arrays .asList ("http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-claimresponse|0.2.0" , "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-consent|0.2.0" , "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-coverage|0.2.0" , "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-organization|0.2.0" , "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-parameters-member-match-in|0.2.0" , "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-parameters-member-match-out|0.2.0" , "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-patient-demographics|0.2.0" , "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-patient-member|0.2.0" , "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitioner|0.2.0" , "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitionerrole|0.2.0" , "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-provenance|0.2.0" , "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-task-data-request|0.2.0" );
75
+ return Arrays .asList (
76
+ "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-claimresponse|1.0.0" ,
77
+ "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-consent|1.0.0" ,
78
+ "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-coverage|1.0.0" ,
79
+ "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-organization|1.0.0" ,
80
+ "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-parameters-member-match-in|1.0.0" ,
81
+ "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-parameters-member-match-out|1.0.0" ,
82
+ "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-patient-demographics|1.0.0" ,
83
+ "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitioner|1.0.0" ,
84
+ "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitionerrole|1.0.0" ,
85
+ "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-task-data-request|1.0.0" );
76
86
}
77
87
78
88
@ Override
@@ -84,12 +94,12 @@ public void loadResources() throws Exception {
84
94
85
95
public void loadCoverage () throws Exception {
86
96
String resource = "Coverage-full.json" ;
87
- Resource coverage = HREXExamplesUtil .readLocalJSONResource ("020 " , resource );
97
+ Resource coverage = HREXExamplesUtil .readLocalJSONResource ("100 " , resource );
88
98
coverageId = createResourceAndReturnTheLogicalId ("Coverage" , coverage );
89
99
}
90
100
91
101
public void loadMultiplePatients () throws Exception {
92
- Parameters source = HREXExamplesUtil .readLocalJSONResource ("020 " , "Parameters-member-match-in.json" );
102
+ Parameters source = HREXExamplesUtil .readLocalJSONResource ("100 " , "Parameters-member-match-in.json" );
93
103
Patient patient = source .getParameter ().get (0 ).getResource ().as (Patient .class );
94
104
95
105
Identifier .Builder idBuilder = patient .getIdentifier ().get (0 ).toBuilder ();
@@ -104,7 +114,7 @@ public void loadMultiplePatients() throws Exception {
104
114
105
115
public void loadSingleMatchPatientAndCoverage () throws Exception {
106
116
singleMatchPatientId = UUID .randomUUID ().toString ();
107
- Parameters source = HREXExamplesUtil .readLocalJSONResource ("020 " , "Parameters-member-match-in.json" );
117
+ Parameters source = HREXExamplesUtil .readLocalJSONResource ("100 " , "Parameters-member-match-in.json" );
108
118
Patient patient = source .getParameter ().get (0 ).getResource ().as (Patient .class );
109
119
110
120
Identifier .Builder idBuilder = patient .getIdentifier ().get (0 ).toBuilder ();
@@ -198,7 +208,7 @@ public String datastore() {
198
208
@ Override
199
209
public Parameters getInputParameters () {
200
210
try {
201
- return HREXExamplesUtil .readLocalJSONResource ("020 " , "Parameters-member-match-in.json" );
211
+ return HREXExamplesUtil .readLocalJSONResource ("100 " , "Parameters-member-match-in.json" );
202
212
} catch (Exception e ) {
203
213
throw new AssertionError ("Unexpected" );
204
214
}
@@ -243,7 +253,7 @@ public void testMemberMatch_WithBadProfile() throws Exception {
243
253
@ Override
244
254
public Parameters getInputParameters () {
245
255
try {
246
- Parameters source = HREXExamplesUtil .readLocalJSONResource ("020 " , "Parameters-member-match-in.json" );
256
+ Parameters source = HREXExamplesUtil .readLocalJSONResource ("100 " , "Parameters-member-match-in.json" );
247
257
248
258
List <Parameters .Parameter > params = new ArrayList <>();
249
259
Patient patient = source .getParameter ().get (0 ).getResource ().as (Patient .class );
@@ -278,7 +288,7 @@ public void testMemberMatch_WithoutCoverageToMatch() throws Exception {
278
288
@ Override
279
289
public Parameters getInputParameters () {
280
290
try {
281
- Parameters source = HREXExamplesUtil .readLocalJSONResource ("020 " , "Parameters-member-match-in.json" );
291
+ Parameters source = HREXExamplesUtil .readLocalJSONResource ("100 " , "Parameters-member-match-in.json" );
282
292
Parameters .Builder builder = Parameters .builder ().parameter (Arrays .asList (source .getParameter ().get (0 ), source .getParameter ().get (3 )));
283
293
return builder .build ();
284
294
} catch (Exception e ) {
@@ -302,7 +312,7 @@ public void testMemberMatch_WithBadProfileCoverage() throws Exception {
302
312
@ Override
303
313
public Parameters getInputParameters () {
304
314
try {
305
- Parameters source = HREXExamplesUtil .readLocalJSONResource ("020 " , "Parameters-member-match-in.json" );
315
+ Parameters source = HREXExamplesUtil .readLocalJSONResource ("100 " , "Parameters-member-match-in.json" );
306
316
307
317
List <Parameters .Parameter > params = new ArrayList <>();
308
318
Coverage coverage = source .getParameter ().get (1 ).getResource ().as (Coverage .class );
@@ -340,7 +350,7 @@ public void testMemberMatch_WithNoMatch() throws Exception {
340
350
@ Override
341
351
public Parameters getInputParameters () {
342
352
try {
343
- Parameters source = HREXExamplesUtil .readLocalJSONResource ("020 " , "Parameters-member-match-in.json" );
353
+ Parameters source = HREXExamplesUtil .readLocalJSONResource ("100 " , "Parameters-member-match-in.json" );
344
354
345
355
List <Parameters .Parameter > params = new ArrayList <>();
346
356
Patient patient = source .getParameter ().get (0 ).getResource ().as (Patient .class );
@@ -378,7 +388,7 @@ public void testMemberMatch_WithMultipleMatch() throws Exception {
378
388
@ Override
379
389
public Parameters getInputParameters () {
380
390
try {
381
- Parameters source = HREXExamplesUtil .readLocalJSONResource ("020 " , "Parameters-member-match-in.json" );
391
+ Parameters source = HREXExamplesUtil .readLocalJSONResource ("100 " , "Parameters-member-match-in.json" );
382
392
383
393
List <Parameters .Parameter > params = new ArrayList <>();
384
394
Patient patient = source .getParameter ().get (0 ).getResource ().as (Patient .class );
@@ -416,7 +426,7 @@ public void testMemberMatch_WithSingleMatch() throws Exception {
416
426
@ Override
417
427
public Parameters getInputParameters () {
418
428
try {
419
- Parameters source = HREXExamplesUtil .readLocalJSONResource ("020 " , "Parameters-member-match-in.json" );
429
+ Parameters source = HREXExamplesUtil .readLocalJSONResource ("100 " , "Parameters-member-match-in.json" );
420
430
421
431
List <Parameters .Parameter > params = new ArrayList <>();
422
432
Patient patient = source .getParameter ().get (0 ).getResource ().as (Patient .class );
0 commit comments