@Override public Message createMessage(LocalIdStatement resource) { StatementMsg msg = new StatementMsg(); msg.setStatement(resource.getResource()); return msg; }
@Override public Map<String, String> getPathValues(LocalIdStatement resource) { Map<String, String> returnMap = new HashMap<String, String>(); CodeSystemVersionReference assertedIn = getAssertedIn(resource.getResource()); returnMap.put(VAR_CODESYSTEMID, assertedIn.getCodeSystem().getContent()); returnMap.put(VAR_CODESYSTEMVERSIONID, assertedIn.getVersion().getContent()); returnMap.put(VAR_STATEMENTID, resource.getLocalID()); return returnMap; }