hl7-be / pss

Prescription Search Support
Other
0 stars 0 forks source link

[Example] Step 3 - Send indications to receive the support options (Radiology) #27

Closed NISN-SMALS closed 4 months ago

NISN-SMALS commented 6 months ago

Request: POST /$RadioGuidanceRequest (+ QuestionnaireResponse in payload)

OperationDefinition specifications

{
  "resourceType": "OperationDefinition",
  "id": "radioguidance-request",
  "url": "https://www.ehealth.fgov.be/standards/fhir/pss/OperationDefinition/radioguidance-request",
  "version": "1.0",
  "name": "RadioGuidanceRequest",
  "status": "active",
  "kind": "operation",
  "code": "radioGuidanceRequest",
  "system": true,
  "instance": false,
  "type": false,
  "parameter": [
    {
      "name": "response",
      "type": "QuestionnaireResponse",
      "use": "in",
      "min": 1,
      "max": "1",
      "documentation": "The indications selected by EPD"
    },
    {
      "name": "return",
      "type": "Bundle",
      "use": "out",
      "min": 1,
      "max": "1",
      "documentation": "The operation returns a Bundle containing a GuidanceResponse and a Parameters resource."
    }
  ]
}

Post body: In this example indication "Hereditary ataxia" is selected out of the list of structured indications that we received in step 2.

{
  "resourceType": "QuestionnaireResponse",
  "status": "completed",
  "item": [
    {
      "linkId": "1",
      "text": "Indication selected by EPD",
      "answer": [
        {
          "valueCoding": {
            "system": "http://snomed.info/sct",
            "code": "763597000" //Hereditary ataxia
          }
        }
      ]
    }
  ]
}
costateixeira commented 6 months ago

We should avoid custom operations. Let's organize a call

bdc-ehealth commented 6 months ago

@NISN-SMALS ,

don't forget to make the link between the QuestionnaireResponse and the Questionnaire, so that the answers can be checked against the original questionnaire.

costateixeira commented 6 months ago

I suggest closing this issue or at least not add to it before seeing if this is the approach to follow (which i doubt).

On Thu, May 23, 2024 at 4:25 PM Bart Decuypere (eHealth) < @.***> wrote:

@NISN-SMALS https://github.com/NISN-SMALS ,

don't forget to make the link between the QuestionnaireResponse and the Questionnaire, so that the answers can be checked against the original questionnaire.

— Reply to this email directly, view it on GitHub https://github.com/hl7-be/pss/issues/27#issuecomment-2127261836, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3HUUHTXXQ5T6PZ6VGJDP3ZDX37BAVCNFSM6AAAAABIFADV6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRXGI3DCOBTGY . You are receiving this because you commented.Message ID: @.***>

bdc-ehealth commented 6 months ago

results can be evaluated here: https://build.fhir.org/ig/hl7-be/pss/branches/issue-25/artifacts.html