@Override public BaseCodingDt newCodingDt() { return new CodingDt(); }
/** * Adds and returns a new value for <b>code</b> () * * <p> * <b>Definition:</b> * A code that provides the meaning for the element according to a particular terminology. * </p> */ public CodingDt addCode() { CodingDt newType = new CodingDt(); getCode().add(newType); return newType; }
/** * Adds and returns a new value for <b>subtype</b> () * * <p> * <b>Definition:</b> * Identifier for the category of event * </p> */ public CodingDt addSubtype() { CodingDt newType = new CodingDt(); getSubtype().add(newType); return newType; }
/** * Adds and returns a new value for <b>type</b> () * * <p> * <b>Definition:</b> * Code specifying the type of source where event originated * </p> */ public CodingDt addType() { CodingDt newType = new CodingDt(); getType().add(newType); return newType; }
/** * Adds and returns a new value for <b>code</b> () * * <p> * <b>Definition:</b> * A set of terms from external terminologies that may be used to assist with indexing and searching of templates. * </p> */ public CodingDt addCode() { CodingDt newType = new CodingDt(); getCode().add(newType); return newType; }
/** * Adds and returns a new value for <b>modifier</b> () * * <p> * <b>Definition:</b> * Item typification or modifiers codes, e.g. for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen. * </p> */ public CodingDt addModifier() { CodingDt newType = new CodingDt(); getModifier().add(newType); return newType; }
/** * Adds and returns a new value for <b>purposeOfUse</b> () * * <p> * <b>Definition:</b> * The reason (purpose of use), specific to this participant, that was used during the event being recorded. * </p> */ public CodingDt addPurposeOfUse() { CodingDt newType = new CodingDt(); getPurposeOfUse().add(newType); return newType; }
/** * Adds and returns a new value for <b>security</b> () * * <p> * <b>Definition:</b> * Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure * </p> */ public CodingDt addSecurity() { CodingDt newType = new CodingDt(); getSecurity().add(newType); return newType; }
/** * Adds and returns a new value for <b>code</b> () * * <p> * <b>Definition:</b> * A code that provides the meaning for the element according to a particular terminology. * </p> */ public CodingDt addCode() { CodingDt newType = new CodingDt(); getCode().add(newType); return newType; }
/** * Adds and returns a new value for <b>tag</b> () * * <p> * <b>Definition:</b> * A tag to add to any resource that matches the criteria, after the subscription is processed * </p> */ public CodingDt addTag() { CodingDt newType = new CodingDt(); getTag().add(newType); return newType; }
/** * Adds and returns a new value for <b>type</b> () * * <p> * <b>Definition:</b> * An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document. * </p> */ public CodingDt addType() { CodingDt newType = new CodingDt(); getType().add(newType); return newType; }
/** * Adds and returns a new value for <b>format</b> () * * <p> * <b>Definition:</b> * An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType * </p> */ public CodingDt addFormat() { CodingDt newType = new CodingDt(); getFormat().add(newType); return newType; }
/** * Adds and returns a new value for <b>coding</b> () * * <p> * <b>Definition:</b> * A reference to a code defined by a terminology system * </p> */ public CodingDt addCoding() { CodingDt newType = new CodingDt(); getCoding().add(newType); return newType; }
/** * Adds and returns a new value for <b>option</b> () * * <p> * <b>Definition:</b> * For a \"choice\" question, identifies one of the permitted answers for the question. * </p> */ public CodingDt addOption() { CodingDt newType = new CodingDt(); getOption().add(newType); return newType; }
/** * Adds and returns a new value for <b>error</b> () * * <p> * <b>Definition:</b> * Processing errors. * </p> */ public CodingDt addError() { CodingDt newType = new CodingDt(); getError().add(newType); return newType; }
/** * Adds and returns a new value for <b>condition</b> () * * <p> * <b>Definition:</b> * List of patient conditions for which care is sought. * </p> */ public CodingDt addCondition() { CodingDt newType = new CodingDt(); getCondition().add(newType); return newType; }
/** * Adds and returns a new value for <b>exception</b> () * * <p> * <b>Definition:</b> * Factors which may influence the applicability of coverage. * </p> */ public CodingDt addException() { CodingDt newType = new CodingDt(); getException().add(newType); return newType; }
@Override public IBaseCoding addSecurity() { List<BaseCodingDt> tagList = ResourceMetadataKeyEnum.SECURITY_LABELS.get(BaseResource.this); if (tagList == null) { tagList = new ArrayList<BaseCodingDt>(); ResourceMetadataKeyEnum.SECURITY_LABELS.put(BaseResource.this, tagList); } CodingDt tag = new CodingDt(); tagList.add(tag); return tag; }
@Override public List<? extends IBaseCoding> getSecurity() { ArrayList<CodingDt> retVal = new ArrayList<CodingDt>(); List<BaseCodingDt> labelsList = ResourceMetadataKeyEnum.SECURITY_LABELS.get(BaseResource.this); if (labelsList == null) { return Collections.emptyList(); } for (BaseCodingDt next : labelsList) { retVal.add(new CodingDt(next.getSystemElement().getValue(), next.getCodeElement().getValue()).setDisplay(next.getDisplayElement().getValue())); } return Collections.unmodifiableList(retVal); }
public static CodeableConceptDt createServiceCategory(String sc, String shortDx, String longDx) { CodeableConceptDt cpt = new CodeableConceptDt(); cpt.setText(longDx); CodingDt coding = new CodingDt(); coding.setCode(sc); coding.setDisplay(shortDx); cpt.getCoding().add(coding); return cpt; }