001package org.hl7.fhir.convertors.conv30_40.resources30_40;
002
003import org.hl7.fhir.dstu3.model.Parameters;
004import org.hl7.fhir.r4.model.TerminologyCapabilities;
005
006public class TerminologyCapabilities30_40 {
007  public static TerminologyCapabilities convertTerminologyCapabilities(Parameters src, boolean b) {
008    TerminologyCapabilities res = new TerminologyCapabilities();
009    for (Parameters.ParametersParameterComponent p : src.getParameter()) {
010      if (p.getName().equals("system")) res.addCodeSystem().setUri(p.getValue().primitiveValue());
011    }
012    return res;
013  }
014}