File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
service/src/main/java/uk/nhs/adaptors/gp2gp/common/configuration Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 1- package uk .nhs .adaptors .gp2gp .gpc .configuration ;
2-
3- import org .springframework .context .annotation .Bean ;
4- import org .springframework .context .annotation .Configuration ;
1+ package uk .nhs .adaptors .gp2gp .common .configuration ;
52
63import ca .uhn .fhir .context .FhirContext ;
74import ca .uhn .fhir .parser .IParser ;
5+ import org .springframework .context .annotation .Bean ;
6+ import org .springframework .context .annotation .Configuration ;
87
98@ Configuration
10- public class GpcFhirParserConfig {
9+ public class FhirParserConfig {
10+
11+ @ Bean
12+ public FhirContext fhirContext () {
13+ return FhirContext .forDstu3 ();
14+ }
15+
1116 @ Bean
1217 public IParser fhirJsonParser () {
1318 return FhirContext .forDstu3 ().newJsonParser ();
1419 }
15- }
20+
21+ }
You can’t perform that action at this time.
0 commit comments