public void addFHIRCoding( CodeableConceptDt codeableConcept, String code, String system, String display) { CodingDt coding = codeableConcept.addCoding(); coding.setCode(code); coding.setSystem(system); coding.setDisplay(display); }
public CodeableConceptDt getTRValueSetCodeableConcept( Concept concept, String valueSetURL, CodeableConceptDt codeableConcept) { CodingDt coding = codeableConcept.addCoding(); if (null != idMappingsRepository.findByInternalId(concept.getUuid())) { coding.setCode(getTRValueSetCode(concept)); coding.setSystem(valueSetURL); } coding.setDisplay(concept.getName().getName()); return codeableConcept; }