ansforge / IG-fhir-repertoire-offre-ressources-sante

Définition des spécifications de l'API FHIR pour utiliser le Répertoire national de l’Offre et des Ressources en santé et accompagnement médico-social (ROR).
https://interop.esante.gouv.fr/ig/fhir/ror/
MIT License
2 stars 1 forks source link

IG- Recherche d'offre avec données capacitaires : Scénario 2 #251

Closed RomainCaraty closed 6 months ago

RomainCaraty commented 9 months ago

Bonjour @sdemeyANS,

Comme vu ensemble il faut que le scénario 2 de recherche d'offre avec données capacitaires apparaisse sur l'IG https://ansforge.github.io/IG-fhir-repertoire-offre-ressources-sante/ig/main/specifications_techniques_4.html avec l'exemple suivant :

► Scenario 2 : Recherche sur un critère capacitaire #2 • Un consommateur cherche les offres pour une activité opérationnelle donnée, et un capacitaire respectant certaines caractéristiques (cas général identique au précédent, caractéristiques différentes). Exemple : recherche des offres de surveillance continue pédiatrique et disposant d’un lit fermé ré-ouvrable, c’est-à-dire décrites avec l’activité opérationnelle « 391 – Surveillance continue spécialisée pédiatrique » + lit fermé ré-ouvrable (nature = lit ; statut = fermé ; type fermeture = ré-activable).

Requête : https://api.rortest.esante.gouv.fr/ws-diffusion-fhir/HealthcareService?specialty=https://mos.esante.gouv.fr/NOS/TRE_R211-ActiviteOperationnelle/FHIR/TRE-R211-ActiviteOperationnelle|391&location.capacity-type=https://mos.esante.gouv.fr/NOS/TRE_R329-NatureCapacite/FHIR/TRE-R329-NatureCapacite|01&location.capacity-status= https://mos.esante.gouv.fr/NOS/TRE_R330-TypeStatutCapacite/FHIR/TRE-R330-TypeStatutCapacite|05&location.capacity-closing-type= https://mos.esante.gouv.fr/NOS/TRE_R333-TypeFermetureCapacite/TRE_R333-TypeFermetureCapacite|01&_include=Healthcareservice:location

paulineheurtebise commented 8 months ago

Le narratif est mis à jour :

Preview disponible : https://ansforge.github.io/IG-fhir-repertoire-offre-ressources-sante/ig/narratif-scenario-retour-platine

Question : dans la requête dans l'IG nous avions le critère suivant &location.nb-capacity=gt0 #critère de recherche sur quantité de lits n'est - il pas intéressant de le garder ?

Remarque : attention dans la requête proposée il y a des espace après les "="

RomainCaraty commented 8 months ago

Bonjour @paulineheurtebise

Les espaces après le = est bien une erreur.

sdemeyANS commented 7 months ago

en attente validation PR https://github.com/ansforge/IG-fhir-repertoire-offre-ressources-sante/pull/267

RomainCaraty commented 7 months ago

Bonjour @sdemeyANS et @paulineheurtebise

OK pour afficher la requête suivante sur l'IG :

https://api.rortest.esante.gouv.fr/ws-diffusion-fhir/HealthcareService?specialty=https://mos.esante.gouv.fr/NOS/TRE_R211-ActiviteOperationnelle/FHIR/TRE-R211-ActiviteOperationnelle|391&location.capacity-type=https://mos.esante.gouv.fr/NOS/TRE_R329-NatureCapacite/FHIR/TRE-R329-NatureCapacite|01&location.capacity-status=https://mos.esante.gouv.fr/NOS/TRE_R330-TypeStatutCapacite/FHIR/TRE-R330-TypeStatutCapacite|05&location.capacity-closing-type=https://mos.esante.gouv.fr/NOS/TRE_R333-TypeFermetureCapacite/TRE_R333-TypeFermetureCapacite|01&location.nb-capacity=gt0&_include=HealthcareService:location

paulineheurtebise commented 7 months ago

@RomainCaraty Il y a une typo au niveau d'une URL https://mos.esante.gouv.fr/NOS/TRE_R333-TypeFermetureCapacite/TRE_R333-TypeFermetureCapacite à remplacer par https://mos.esante.gouv.fr/NOS/TRE_R333-TypeFermetureCapacite/FHIR/TRE_R333-TypeFermetureCapacite

RomainCaraty commented 7 months ago

Effectivement, erreur de ma part :)

La requête est donc :

https://api.rortest.esante.gouv.fr/ws-diffusion-fhir/HealthcareService?specialty=https://mos.esante.gouv.fr/NOS/TRE_R211-ActiviteOperationnelle/FHIR/TRE-R211-ActiviteOperationnelle|391&location.capacity-type=https://mos.esante.gouv.fr/NOS/TRE_R329-NatureCapacite/FHIR/TRE-R329-NatureCapacite|01&location.capacity-status=https://mos.esante.gouv.fr/NOS/TRE_R330-TypeStatutCapacite/FHIR/TRE-R330-TypeStatutCapacite|05&location.capacity-closing-type=https://mos.esante.gouv.fr/NOS/TRE_R333-TypeFermetureCapacite/FHIR/TRE_R333-TypeFermetureCapacite|01&location.nb-capacity=gt0&_include=HealthcareService:location