Why not to allow for a result code?

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Considered - Question answered
    • SMART Web Messaging (FHIR)
    • 0.1.0
    • FHIR Infrastructure
    • Home
    • 1.3.2
    • Hide

      Thanks for the question!

      This has prompted us to create a new CodeSystem to encode the two current response types, 'success' and 'failure'.  The response then uses one of these Codes.  Additional response details can be included in a CodeableConcept in the response.

      Show
      Thanks for the question! This has prompted us to create a new CodeSystem to encode the two current response types, 'success' and 'failure'.  The response then uses one of these Codes.  Additional response details can be included in a CodeableConcept in the response.

      The response payload for ui.done and ui.launchActivity is limited by the two properties: success - the boolean flag; and details - a boolean description. This seems to be very limiting and may not allow to handle the response with sufficient flexibility as the receiving application will only know that the request has failed but would not be able to get the soort of problem encountered and thus handle it accordingly in its logics. So using a result code to communicate the result type could potentially allow for more sophisticated application logics.

            Assignee:
            Unassigned
            Reporter:
            ivan_zapreev
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: