001package org.hl7.fhir.r5.conformance;
002
003import org.hl7.fhir.r5.model.ElementDefinition;
004
005public class ElementRedirection {
006
007  private String path;
008  private ElementDefinition element;
009
010  public ElementRedirection(ElementDefinition element, String path) {
011    this.path = path;
012    this.element = element;
013  }
014
015  public ElementDefinition getElement() {
016    return element;
017  }
018
019  @Override
020  public String toString() {
021    return element.toString() + " : " + path;
022  }
023
024  public String getPath() {
025    return path;
026  }
027
028}