From a226072beac4c6aa9d8ca21896e43e2124f778fa Mon Sep 17 00:00:00 2001 From: Jens Kristian Villadsen Date: Mon, 5 Aug 2024 12:45:37 +0200 Subject: [PATCH] Update RandomCodeGenerator.java --- .../java/org/mitre/synthea/helpers/RandomCodeGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/mitre/synthea/helpers/RandomCodeGenerator.java b/src/main/java/org/mitre/synthea/helpers/RandomCodeGenerator.java index 35b1f83e5e..c77856f59d 100644 --- a/src/main/java/org/mitre/synthea/helpers/RandomCodeGenerator.java +++ b/src/main/java/org/mitre/synthea/helpers/RandomCodeGenerator.java @@ -110,7 +110,7 @@ private static synchronized void expandValueSet(String valueSetUri) { if (!codeListCache.containsKey(valueSetUri)) { Request request = new Request.Builder() .url(expandBaseUrl + valueSetUri) - .header("Content-Type", "application/json") + .header("Accept", "application/json") .build(); try { Response response = client.newCall(request).execute();