Uploaded image for project: 'EVSClient'
  1. EVSClient
  2. EVSCLT-871

[EVS API] Create validated object through webservice

    Details

      Description

      As SUT Operator, I MUST be able to create validated objects (documents or messages) from development environment or from CI builds, calling web-services and without going through EVSClient GUI.


      Acceptance criteria :

      * Access unsecured (validation result public)
      * Exception handling if no validator configured nor accessible :
             - If the targeted service is not available, EVSClient must respond with HTTP 503 Service unavailable
             - If the targeted validator is not configured, EVSClient must respond with HTTP 404 Not found

      * Exception handling on client parameters :
             - If the binary object is missing in the creation request, EVSClient must respond with HTTP 400 Bad Request.
             - If validationService and validator is missing in the creation request, EVSClient must respond with HTTP 400 Bad Request.

      * Archived report
             - ValidatedObjects created by webservice are visible from GUI
             - When restarting EVSClient, ValidatedObjects are still available.

      * Lookup for referencedstandard to match with menus once validation has been performed
             - Find referencedstandard associated with validation service
             - Reduce the number of activated referencedstandard through menus
             - Reduce the number of referencedstandard by comparing the extension with validator name
             - If only one referencedstandard remains, we add it to the validated object. Otherwise, we add the first one.


      * If a validation is protected (menu protected), the webservice must not be called by all users

      * As a validation client, I MUST be able to send a validatedobject resource containing an object, a validation service and a validator, using a POST request to EVSClient and I receive the location of the created validatedobject.

      I.e :
      Request : POST /EVSClient/rest/validatedObjects HTTP/1.1
      Content-Type: application/xml;charset=UTF-8

      Response : HTTP/1.1 201 Created
      Location: /EVSClient/rest/validatedObjects/1.3.6.1.4.1.12559.11.36.3.1.14342


      Related requirements :

      [EVS-11]
      [EVS-12] (partial)
      [EVS-13]
      [EVS-14]
      [EVS-18]
      [EVS-20]

      ------------------------------- TECHNICAL ---------------------

      The referenced Standard lookup must be a component, it will be reused by MCA GUI to redirect user to the correct validation page instead of the Remote validation.

      List of supported validation services :

      X-Validation (ANS priority)
      Dicom Validation
      Dicom Web Validation
      HL7 Validation (v2?)
      PDF Validation
      Certificate Validation

      ** Abstract XML : MBV or Schematron
      Audit Message Validation
      CDA Validation
      DSUB Validation
      FHIRValidator (ANS priority)
      HL7v3 Validation
      HPD Validation
      SAML Assertion Validation
      SVS Validation
      WADO Validation (deprecated ?)
      XDS Validation
      XDW Validation
      XML Validation / SchematronValidator (ANS priority)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dgo Daniel Graveto
              Reporter:
              NicolasBailliet Nicolas Bailliet
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Start date:
                End date:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 week
                  1w
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 days, 4 hours, 30 minutes Time Not Required
                  4d 4h 30m

                    Potential Duplicates