001package org.hl7.fhir.r5.renderers;
002
003import org.hl7.fhir.r5.model.CodeableConcept;
004import org.hl7.fhir.r5.model.Coding;
005
006public interface CodeResolver {
007
008  public class CodeResolution {
009    private String systenName;
010    private String systemLink;
011    private String link;
012    private String display;
013    private String hint;
014    
015    
016    protected CodeResolution(String systenName, String systemLink, String link, String display, String hint) {
017      super();
018      this.systenName = systenName;
019      this.systemLink = systemLink;
020      this.link = link;
021      this.display = display;
022      this.hint = hint;
023    }
024    
025    public String getSystenName() {
026      return systenName;
027    }
028    public String getSystemLink() {
029      return systemLink;
030    }
031    public String getLink() {
032      return link;
033    }
034    public String getDisplay() {
035      return display;
036    }
037    public String getHint() {
038      return hint;
039    }
040
041    
042  }
043  
044  public CodeResolution resolveCode(String system, String code);
045  public CodeResolution resolveCode(Coding code);
046  public CodeResolution resolveCode(CodeableConcept code);
047}