Ejemplo n.º 1
0
        @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;
        }
Ejemplo n.º 2
0
        @Override
        public Message createMessage(LocalIdStatement resource) {
          StatementMsg msg = new StatementMsg();
          msg.setStatement(resource.getResource());

          return msg;
        }