<BUG>citation.setCitationTemplate(new ResourceReference(URI.create("http://gedcomx.org/gedcom5-conversion-v1-SOUR-mapping")));</BUG><CONTEXT>try {boolean sourceDescriptionHasData = false;boolean sourceReferenceHasData = false;SourceDescription gedxSourceDescription = new SourceDescription();org.gedcomx.source.SourceCitation citation = new org.gedcomx.source.SourceCitation();<extra_id_0>citation.setFields(new ArrayList<CitationField>());citation.setValue("");if (dqSource.getRef() != null) {</CONTEXT>
citation.setCitationTemplate(new ResourceReference(URI.create("gedcom5:citation-template")));