Class FHIRRestInteractionVisitorBase

    • Field Detail

      • SC_BAD_REQUEST_STRING

        protected static final String SC_BAD_REQUEST_STRING
      • SC_GONE_STRING

        protected static final String SC_GONE_STRING
      • SC_NOT_FOUND_STRING

        protected static final String SC_NOT_FOUND_STRING
      • SC_ACCEPTED_STRING

        protected static final String SC_ACCEPTED_STRING
      • SC_OK_STRING

        protected static final String SC_OK_STRING
      • SC_PRECONDITION_FAILED_STRING

        protected static final String SC_PRECONDITION_FAILED_STRING
    • Constructor Detail

      • FHIRRestInteractionVisitorBase

        protected FHIRRestInteractionVisitorBase​(FHIRResourceHelpers helpers,
                                                 Map<String,​String> localRefMap,
                                                 Bundle.Entry[] responseBundleEntries)
        Protected constructor
        Parameters:
        helpers -
        localRefMap -
        responseBundleEntries -
    • Method Detail

      • setEntryComplete

        protected void setEntryComplete​(int entryIndex,
                                        Bundle.Entry e,
                                        String requestDescription,
                                        long initialTime)
        Set the given entry e in the response bundle and log a bundle entry completion message.
        Parameters:
        entryIndex -
        e -
        requestDescription -
        initialTime -
      • getResponseEntry

        protected Bundle.Entry getResponseEntry​(int entryIndex)
      • addLocalRefMapping

        protected void addLocalRefMapping​(String localIdentifier,
                                          Resource resource)
        This method will add a mapping to the local-to-external identifier map if the specified localIdentifier is non-null.
        Parameters:
        localIdentifier - the localIdentifier previously obtained for the resource
        resource - the resource for which an external identifier will be built