Skip to content

Commit

Permalink
FML: Use FMLParser in StructureMapUtilities and support for identity …
Browse files Browse the repository at this point in the history
…transform #289
  • Loading branch information
oliveregger committed Oct 15, 2024
1 parent 1ac302c commit 02d2a46
Show file tree
Hide file tree
Showing 10 changed files with 836 additions and 626 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,16 @@ public IBaseResource getCanonicalResourceById(final String type, final @NonNull
* @throws FHIRException FHIR Exception
*/
public org.hl7.fhir.r5.model.StructureMap parseMapR5(String content) throws FHIRException {
SimpleWorkerContext context = this.getContext();
SimpleWorkerContext context = null;
try {
context = this.getContextForFhirVersion("5.0.0");
} catch (FHIRException e) {
log.error("error creating context",e);
return null;
} catch (IOException e) {
log.error("error creating context",e);
return null;
}
List<Base> outputs = new ArrayList<>();
StructureMapUtilities scu = new MatchboxStructureMapUtilities(context,
new TransformSupportServices(context, outputs), this);
Expand Down
Loading

0 comments on commit 02d2a46

Please sign in to comment.