hl7-be / pss

Prescription Search Support
Other
0 stars 0 forks source link

[Example] Step 4 - Receive support options (Radiology & Antimicrobial) #31

Closed NISN-SMALS closed 4 months ago

NISN-SMALS commented 6 months ago

Radiology

Response: this is response is based on the request in step 3 (POST /$RadioGuidanceRequest)

{
  "resourceType": "Bundle",
  "type": "collection",
  "entry": [
    {
      "fullUrl": "https://www.ehealth.fgov.be/standards/fhir/pss/GuidanceResponse/3183440",
      "resource": {
        "resourceType": "GuidanceResponse",
        "id": "3183440",
        "moduleUri": "/radioGuidanceRequest",
        "status": "success",
        "reasonCode": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "763597000"
              }
            ]
          }
        ],
        "outputParameters": {
          "reference": "Parameters/3183440"
        }
      }
    },
    {
      "fullUrl": "https://www.ehealth.fgov.be/standards/fhir/pss/Parameters/3183440",
      "resource": {
        "resourceType": "Parameters",
        "id": "3183440",
        "parameter": [
          {
            "name": "supportOptions",
            "part": [
              {
                "name": "option",
                "part": [
                  {
                    "name": "score",
                    "valueInteger": 10
                  },
                  {
                    "name": "instruction",
                    "part": [
                      {
                        "name": "NL",
                        "valueString": "CT, hoofd, zonder intraveneus contrast"
                      },
                      {
                        "name": "FR",
                        "valueString": "CT, tête, sans injection de produit de contraste intraveineux"
                      }
                    ]
                  },
                  {
                    "name": "supportOptionMetadata",
                    "part": [
                      {
                        "name": "RelativeCost",
                        "valueString": "€€"
                      },
                      {
                        "name": "RadiationLevel",
                        "valueInteger": 3
                      },
                      {
                        "name": "IsRequested",
                        "valueBoolean": true
                      }
                    ]
                  }
                ]
              },
              {
                "name": "option",
                "part": [
                  {
                    "name": "score",
                    "valueInteger": 10
                  },
                  {
                    "name": "instruction",
                    "part": [
                      {
                        "name": "NL",
                        "valueString": "CT, angiografie, hoofd, met intraveneus contrast"
                      },
                      {
                        "name": "FR",
                        "valueString": "CT, angiographie, tête, avec injection de produit de contraste intraveineux"
                      }
                    ]
                  },
                  {
                    "name": "supportOptionMetadata",
                    "part": [
                      {
                        "name": "RelativeCost",
                        "valueString": "€€€"
                      },
                      {
                        "name": "RadiationLevel",
                        "valueInteger": 3
                      },
                      {
                        "name": "IsRequested",
                        "valueBoolean": false
                      }
                    ]
                  }
                ]
              },
              {
                "name": "option",
                "part": [
                  {
                    "name": "score",
                    "valueInteger": 10
                  },
                  {
                    "name": "instruction",
                    "part": [
                      {
                        "name": "NL",
                        "valueString": "CT, cisternografie, hoofd, met intraveneus contrast"
                      },
                      {
                        "name": "FR",
                        "valueString": "CT, cisternographie, tête, avec injection de produit de contraste intraveineux"
                      }
                    ]
                  },
                  {
                    "name": "supportOptionMetadata",
                    "part": [
                      {
                        "name": "RelativeCost",
                        "valueString": "€€"
                      },
                      {
                        "name": "RadiationLevel",
                        "valueInteger": 3
                      },
                      {
                        "name": "IsRequested",
                        "valueBoolean": false
                      }
                    ]
                  }
                ]
              },
              {
                "name": "option",
                "part": [
                  {
                    "name": "score",
                    "valueInteger": 10
                  },
                  {
                    "name": "instruction",
                    "part": [
                      {
                        "name": "NL",
                        "valueString": "CT, hoofd, met intraveneus contrast"
                      },
                      {
                        "name": "FR",
                        "valueString": "CT, tête, avec injection de produit de contraste intraveineux"
                      }
                    ]
                  },
                  {
                    "name": "supportOptionMetadata",
                    "part": [
                      {
                        "name": "RelativeCost",
                        "valueString": "€€"
                      },
                      {
                        "name": "RadiationLevel",
                        "valueInteger": 3
                      },
                      {
                        "name": "IsRequested",
                        "valueBoolean": false
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  ]
}

Antimicrobial

Response: this is response is based on the request in step 3 (POST /$AntimicroGuidanceRequest )

{
  "resourceType": "Bundle",
  "type": "collection",
  "entry": [
    {
      "fullUrl": "https://www.ehealth.fgov.be/standards/fhir/pss/GuidanceResponse/AB6",
      "resource": {
        "resourceType": "GuidanceResponse",
        "id": "AB6",
        "moduleUri": "/antimicroGuidanceRequest",
        "status": "success",
        "reasonCode": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "921000172108",
                "display": "Acute Keelpijn"
              }
            ]
          }
        ],
        "outputParameters": {
          "reference": "Parameters/AB6"
        }
      }
    },
    {
      "fullUrl": "https://www.ehealth.fgov.be/standards/fhir/pss/Parameters/AB6",
      "resource": {
        "resourceType": "Parameters",
        "id": "AB6",
        "parameter": [
          {
            "name": "supportOptions",
            "part": [
              {
                "name": "option",
                "part": [
                  {
                    "name": "score",
                    "valueInteger": 1
                  },
                  {
                    "name": "instruction",
                    "part": [
                      {
                        "name": "NL",
                        "valueString": "Azithromycine"
                      },
                      {
                        "name": "FR",
                        "valueString": "Azithromycine"
                      }
                    ]
                  },
                  {
                    "name": "evidenceSummary",
                    "part": [
                      {
                        "name": "NL",
                        "valueString": "Kind: 10 mg/kg per dag in 1 gift gedurende 3 dagen. Volwassene: 500 mg per dag in 1 gift gedurende 3 dagen."
                      },
                      {
                        "name": "FR",
                        "valueString": "Enfant : 10 mg/kg par jour en 1 prise pendant 3 jours. Adulte : 500 mg par jour en 1 prise pendant 3 jours."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "option",
                "part": [
                  {
                    "name": "score",
                    "valueInteger": 3
                  },
                  {
                    "name": "instruction",
                    "part": [
                      {
                        "name": "NL",
                        "valueString": "Chinolonen"
                      },
                      {
                        "name": "FR",
                        "valueString": "Quinolones"
                      }
                    ]
                  },
                  {
                    "name": "evidenceSummary",
                    "part": [
                      {
                        "name": "NL",
                        "valueString": "Niet aangewezen"
                      },
                      {
                        "name": "FR",
                        "valueString": "Non indiqué"
                      }
                    ]
                  }
                ]
              },
              {
                "name": "option",
                "part": [
                  {
                    "name": "score",
                    "valueInteger": 3
                  },
                  {
                    "name": "instruction",
                    "part": [
                      {
                        "name": "NL",
                        "valueString": "Cefalosporines"
                      },
                      {
                        "name": "FR",
                        "valueString": "Céfalosporines"
                      }
                    ]
                  },
                  {
                    "name": "evidenceSummary",
                    "part": [
                      {
                        "name": "NL",
                        "valueString": "Niet aangewezen"
                      },
                      {
                        "name": "FR",
                        "valueString": "Non indiqué"
                      }
                    ]
                  }
                ]
              },
              {
                "name": "option",
                "part": [
                  {
                    "name": "score",
                    "valueInteger": 3
                  },
                  {
                    "name": "instruction",
                    "part": [
                      {
                        "name": "NL",
                        "valueString": "Tetracyclines"
                      },
                      {
                        "name": "FR",
                        "valueString": "Tétracyclines"
                      }
                    ]
                  },
                  {
                    "name": "evidenceSummary",
                    "part": [
                      {
                        "name": "NL",
                        "valueString": "Niet aangewezen"
                      },
                      {
                        "name": "FR",
                        "valueString": "Non indiqué"
                      }
                    ]
                  }
                ]
              },
              {
                "name": "option",
                "part": [
                  {
                    "name": "score",
                    "valueInteger": 3
                  },
                  {
                    "name": "instruction",
                    "part": [
                      {
                        "name": "NL",
                        "valueString": "Macroliden"
                      },
                      {
                        "name": "FR",
                        "valueString": "Macrolides"
                      }
                    ]
                  },
                  {
                    "name": "evidenceSummary",
                    "part": [
                      {
                        "name": "NL",
                        "valueString": "Niet aangewezen"
                      },
                      {
                        "name": "FR",
                        "valueString": "Non indiqué"
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  ]
}

Remarks:

costateixeira commented 6 months ago

Hello

These are not valid examples - and where do the operations come from? Who has proposed them? To my understanding there will be no custom operations like "/$RadioGuidanceRequest" or "/$AntimicroGuidanceRequest". The current idea is to use PlanDefinition$Apply for all the identified operations - we can confirm that.

The URLs in the bundle resources are incorrect (we don't have eHealth resources)

On Thu, May 23, 2024 at 3:52 AM Nick Sneijers @.***> wrote:

Radiology

Response: this is response is based on the request in step 3 (POST /$RadioGuidanceRequest)

{ "resourceType": "Bundle", "type": "collection", "entry": [ { "fullUrl": "https://www.ehealth.fgov.be/standards/fhir/pss/GuidanceResponse/3183440", "resource": { "resourceType": "GuidanceResponse", "id": "3183440", "moduleUri": "/radioGuidanceRequest", "status": "success", "reasonCode": [ { "coding": [ { "system": "http://snomed.info/sct", "code": "763597000" } ] } ], "outputParameters": { "reference": "Parameters/3183440" } } }, { "fullUrl": "https://www.ehealth.fgov.be/standards/fhir/pss/Parameters/3183440", "resource": { "resourceType": "Parameters", "id": "3183440", "parameter": [ { "name": "supportOptions", "part": [ { "name": "option", "part": [ { "name": "score", "valueInteger": 10 }, { "name": "instruction", "part": [ { "name": "NL", "valueString": "CT, hoofd, zonder intraveneus contrast" }, { "name": "FR", "valueString": "CT, tête, sans injection de produit de contraste intraveineux" } ] }, { "name": "supportOptionMetadata", "part": [ { "name": "RelativeCost", "valueString": "€€" }, { "name": "RadiationLevel", "valueInteger": 3 }, { "name": "IsRequested", "valueBoolean": true } ] } ] }, { "name": "option", "part": [ { "name": "score", "valueInteger": 10 }, { "name": "instruction", "part": [ { "name": "NL", "valueString": "CT, angiografie, hoofd, met intraveneus contrast" }, { "name": "FR", "valueString": "CT, angiographie, tête, avec injection de produit de contraste intraveineux" } ] }, { "name": "supportOptionMetadata", "part": [ { "name": "RelativeCost", "valueString": "€€€" }, { "name": "RadiationLevel", "valueInteger": 3 }, { "name": "IsRequested", "valueBoolean": false } ] } ] }, { "name": "option", "part": [ { "name": "score", "valueInteger": 10 }, { "name": "instruction", "part": [ { "name": "NL", "valueString": "CT, cisternografie, hoofd, met intraveneus contrast" }, { "name": "FR", "valueString": "CT, cisternographie, tête, avec injection de produit de contraste intraveineux" } ] }, { "name": "supportOptionMetadata", "part": [ { "name": "RelativeCost", "valueString": "€€" }, { "name": "RadiationLevel", "valueInteger": 3 }, { "name": "IsRequested", "valueBoolean": false } ] } ] }, { "name": "option", "part": [ { "name": "score", "valueInteger": 10 }, { "name": "instruction", "part": [ { "name": "NL", "valueString": "CT, hoofd, met intraveneus contrast" }, { "name": "FR", "valueString": "CT, tête, avec injection de produit de contraste intraveineux" } ] }, { "name": "supportOptionMetadata", "part": [ { "name": "RelativeCost", "valueString": "€€" }, { "name": "RadiationLevel", "valueInteger": 3 }, { "name": "IsRequested", "valueBoolean": false } ] } ] } ] } ] } } ]}

Antimicrobial

Response: this is response is based on the request in step 3 (POST /$AntimicroGuidanceRequest )

{ "resourceType": "Bundle", "type": "collection", "entry": [ { "fullUrl": "https://www.ehealth.fgov.be/standards/fhir/pss/GuidanceResponse/AB6", "resource": { "resourceType": "GuidanceResponse", "id": "AB6", "moduleUri": "/antimicroGuidanceRequest", "status": "success", "reasonCode": [ { "coding": [ { "system": "http://snomed.info/sct", "code": "921000172108", "display": "Acute Keelpijn" } ] } ], "outputParameters": { "reference": "Parameters/AB6" } } }, { "fullUrl": "https://www.ehealth.fgov.be/standards/fhir/pss/Parameters/AB6", "resource": { "resourceType": "Parameters", "id": "AB6", "parameter": [ { "name": "supportOptions", "part": [ { "name": "option", "part": [ { "name": "score", "valueInteger": 1 }, { "name": "instruction", "part": [ { "name": "NL", "valueString": "Azithromycine" }, { "name": "FR", "valueString": "Azithromycine" } ] }, { "name": "evidenceSummary", "part": [ { "name": "NL", "valueString": "Kind: 10 mg/kg per dag in 1 gift gedurende 3 dagen. Volwassene: 500 mg per dag in 1 gift gedurende 3 dagen." }, { "name": "FR", "valueString": "Enfant : 10 mg/kg par jour en 1 prise pendant 3 jours. Adulte : 500 mg par jour en 1 prise pendant 3 jours." } ] } ] }, { "name": "option", "part": [ { "name": "score", "valueInteger": 3 }, { "name": "instruction", "part": [ { "name": "NL", "valueString": "Chinolonen" }, { "name": "FR", "valueString": "Quinolones" } ] }, { "name": "evidenceSummary", "part": [ { "name": "NL", "valueString": "Niet aangewezen" }, { "name": "FR", "valueString": "Non indiqué" } ] } ] }, { "name": "option", "part": [ { "name": "score", "valueInteger": 3 }, { "name": "instruction", "part": [ { "name": "NL", "valueString": "Cefalosporines" }, { "name": "FR", "valueString": "Céfalosporines" } ] }, { "name": "evidenceSummary", "part": [ { "name": "NL", "valueString": "Niet aangewezen" }, { "name": "FR", "valueString": "Non indiqué" } ] } ] }, { "name": "option", "part": [ { "name": "score", "valueInteger": 3 }, { "name": "instruction", "part": [ { "name": "NL", "valueString": "Tetracyclines" }, { "name": "FR", "valueString": "Tétracyclines" } ] }, { "name": "evidenceSummary", "part": [ { "name": "NL", "valueString": "Niet aangewezen" }, { "name": "FR", "valueString": "Non indiqué" } ] } ] }, { "name": "option", "part": [ { "name": "score", "valueInteger": 3 }, { "name": "instruction", "part": [ { "name": "NL", "valueString": "Macroliden" }, { "name": "FR", "valueString": "Macrolides" } ] }, { "name": "evidenceSummary", "part": [ { "name": "NL", "valueString": "Niet aangewezen" }, { "name": "FR", "valueString": "Non indiqué" } ] } ] } ] } ] } } ]}

Remarks:

  • We prefer not to use the fullurl because there is no added value, a software integrator won't be able to use the url directly and the full process of PSS is always needed.

— Reply to this email directly, view it on GitHub https://github.com/hl7-be/pss/issues/31, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3HUUA6PVURPQP3KWZ52CTZDWU3DAVCNFSM6AAAAABIFGAEMGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYTEMZUGA4TINI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

bdc-ehealth commented 6 months ago

@NISN-SMALS ,

for the fullUrl fields: I propose "urn:uuid:" style URLs. There are a lot of conditions attached to the use of fullUrls of the type that you are using. Using the solution you propose is attractive, but it is not completely compliant with the standard: look here: Bundle - FHIR v4.0.1 Although it is not obligatory to make the resource accessible in a REST FHIR way, we indicate always that the fullUrl is the physical place where we can, perhaps by means of another protocol, obtain the resource. In your case, the resource does not exist, so I would not use this URL. In this case, an “urn:” solution (maybe “uuid:”, or whatever) would be more appropriate. In addition, I don't know if this is the case in your system, but a REST type URL can only be used when the resource is really persisted with this id: Bundle - FHIR v4.0.1.

bdc-ehealth commented 6 months ago

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