public void copyResource(org.hl7.fhir.dstu3.model.Resource src, org.hl7.fhir.instance.model.Resource tgt) throws FHIRException { tgt.setId(src.getId()); if (src.hasMeta()) tgt.setMeta(convertMeta(src.getMeta())); if (src.hasImplicitRules()) tgt.setImplicitRules(src.getImplicitRules()); if (src.hasLanguage()) tgt.setLanguage(src.getLanguage()); }
private static void copyResource(org.hl7.fhir.dstu3.model.Resource src, org.hl7.fhir.dstu2016may.model.Resource tgt) throws FHIRException { if (src.hasId()) tgt.setId(src.getId()); if (src.hasMeta()) tgt.setMeta(convertMeta(src.getMeta())); if (src.hasImplicitRules()) tgt.setImplicitRules(src.getImplicitRules()); if (src.hasLanguage()) tgt.setLanguage(src.getLanguage()); }
@Override public IPrimitiveType<Date> getLastUpdated(IBaseResource theResource) { return ((Resource) theResource).getMeta().getLastUpdatedElement(); }
@Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case 3355: return getIdElement(); case 3347973: return getMeta(); case -961826286: return getImplicitRulesElement(); case -1613589672: return getLanguageElement(); default: return super.makeProperty(hash, name); } }
public void copyResource(org.hl7.fhir.dstu3.model.Resource src, org.hl7.fhir.instance.model.Resource tgt) throws FHIRException { tgt.setId(src.getId()); if (src.hasMeta()) tgt.setMeta(convertMeta(src.getMeta())); if (src.hasImplicitRules()) tgt.setImplicitRules(src.getImplicitRules()); if (src.hasLanguage()) tgt.setLanguage(src.getLanguage()); }
private static void copyResource(org.hl7.fhir.dstu3.model.Resource src, org.hl7.fhir.dstu2016may.model.Resource tgt) throws FHIRException { if (src.hasId()) tgt.setId(src.getId()); if (src.hasMeta()) tgt.setMeta(convertMeta(src.getMeta())); if (src.hasImplicitRules()) tgt.setImplicitRules(src.getImplicitRules()); if (src.hasLanguage()) tgt.setLanguage(src.getLanguage()); }