All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opencds.cqf.measure.r4.TerminologyRef Maven / Gradle / Ivy

package org.opencds.cqf.measure.r4;

import java.util.List;

import org.hl7.fhir.r4.model.Element;
import org.hl7.fhir.r4.model.Type;

import ca.uhn.fhir.model.api.annotation.DatatypeDef;

@DatatypeDef(name = "TerminologyRef")
public abstract class TerminologyRef extends Type {

	public static enum TerminologyRefType {
		VALUESET, CODE, CODESYSTEM
	}

	protected String name;
	protected String id;
	protected TerminologyRefType type;

	public String getId() {
		return id;
	}

	public Element setId(String id) {
		this.id = id;
		return this;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public TerminologyRefType getType() {
		return type;
	}

	public void setType(TerminologyRefType type) {
		this.type = type;
	}

	@Override
	public boolean isEmpty() {
		return false;
	}

	@Override
	public boolean hasFormatComment() {
		return false;
	}

	@Override
	public List getFormatCommentsPre() {
		return null;
	}

	@Override
	public List getFormatCommentsPost() {
		return null;
	}

	public abstract String getDefinition();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy