ansforge / IG-fhir-essais-cliniques

Implementation Guide pour définir les spécifications de l’API REST (FHIR) afin d'interroger la base de données qui recensera les essais cliniques.
https://interop.esante.gouv.fr/ig/fhir/eclaire/
MIT License
0 stars 0 forks source link

[validator.fhir.org] Error line: -1, Extension is required #85

Closed sbedeau closed 1 year ago

sbedeau commented 1 year ago

Description du problème

Sur https://validator.fhir.org avec l'IG 0.2.0, nous constatons l'erreur suivante sur l'entité ResearchStudy Error line: -1, Extension is required

Capture d'écran qui présente l'erreur su validator.fhir.org

Savez-vous ce qu'on doit implémenter pour corriger le problème ?

Fichier•s concerné•s

Snapshot d'un ResearshStudy

{
  "phase": {
    "coding": [
      {
        "code": "phase-3",
        "display": "Phase 3",
        "system": "http://terminology.hl7.org/CodeSystem/research-study-phase",
        "version": "4.0.1"
      }
    ],
    "text": "Research Study Phase"
  },
  "identifier": [
    {
      "assigner": {
        "display": "Reference to primary assigner",
        "type": "Organization"
      },
      "use": "official",
      "value": "INDISPONIBLE"
    },
    {
      "assigner": {
        "display": "Reference to secondary assigner",
        "reference": "Organization/ctis",
        "type": "Organization"
      },
      "use": "secondary",
      "value": "2022-500014-26-00"
    }
  ],
  "sponsor": {
    "display": "Reference to primary sponsor",
    "reference": "Organization/2022-500014-26-00-primary-sponsor",
    "type": "Organization"
  },
  "extension": [
    {
      "url": "https://interop.esante.gouv.fr/ig/fhir/eclaire/StructureDefinition/eclaire-secondary-sponsor",
      "valueReference": {
        "display": "Reference to secondary sponsor",
        "reference": "Organization/2022-500014-26-00-secondary-sponsor",
        "type": "Organization"
      }
    },
    {
      "url": "https://interop.esante.gouv.fr/ig/fhir/eclaire/StructureDefinition/eclaire-therapeutic-area",
      "valueString": "Diseases [C] - Neoplasms [C04]"
    },
    {
      "extension": [
        {
          "url": "labelValue",
          "valueString": "INDISPONIBLE"
        },
        {
          "url": "labelType",
          "valueCodeableConcept": {
            "coding": [
              {
                "code": "human-use",
                "display": "Human use",
                "system": "http://hl7.org/fhir/title-type",
                "version": "5.0.0"
              }
            ],
            "text": "Label Type"
          }
        }
      ],
      "url": "https://interop.esante.gouv.fr/ig/fhir/eclaire/StructureDefinition/eclaire-label"
    },
    {
      "extension": [
        {
          "url": "labelValue",
          "valueString": "INDISPONIBLE"
        },
        {
          "url": "labelType",
          "valueCodeableConcept": {
            "coding": [
              {
                "code": "acronym",
                "display": "Acronym",
                "system": "http://hl7.org/fhir/title-type",
                "version": "5.0.0"
              }
            ],
            "text": "Label Type"
          }
        }
      ],
      "url": "https://interop.esante.gouv.fr/ig/fhir/eclaire/StructureDefinition/eclaire-label"
    },
    {
      "url": "https://interop.esante.gouv.fr/ig/fhir/eclaire/StructureDefinition/eclaire-recruitment-period",
      "valuePeriod": {
        "start": "2022-06-30T00:00:00.000Z"
      }
    },
    {
      "url": "https://interop.esante.gouv.fr/ig/fhir/eclaire/StructureDefinition/eclaire-review-date",
      "valueInstant": "2023-04-12T00:00:00.000Z"
    }
  ],
  "description": "INDISPONIBLE",
  "title": "A PHASE III, RANDOMIZED, OPEN-LABEL STUDY EVALUATING THE EFFICACY AND SAFETY OF GIREDESTRANT IN COMBINATION WITH PHESGO VERSUS PHESGO AFTER INDUCTION THERAPY WITH PHESGO+TAXANE IN PATIENTS WITH PREVIOUSLY UNTREATED HER2-POSITIVE, ESTROGEN RECEPTOR-POSITIVE LOCALLY-ADVANCED OR METASTATIC BREAST CANCER",
  "enrollment": [
    {
      "display": "Reference to group detailing study characteristics",
      "reference": "Group/2022-500014-26-00-enrollment-group",
      "type": "Group"
    }
  ],
  "condition": [
    {
      "coding": [
        {
          "display": "Locally-Advanced or Metastatic breast cancer (MBC)"
        }
      ],
      "text": "diseaseCondition"
    },
    {
      "coding": [
        {
          "code": "10070575",
          "display": "N/A",
          "system": "http://terminology.hl7.org/CodeSystem/mdr",
          "version": "2.0.1"
        }
      ],
      "text": "medDRACondition"
    },
    {
      "coding": [
        {
          "code": "10065430",
          "display": "N/A",
          "system": "http://terminology.hl7.org/CodeSystem/mdr",
          "version": "2.0.1"
        }
      ],
      "text": "medDRACondition"
    }
  ],
  "site": [
    {
      "display": "Reference to site",
      "reference": "Location/2022-500014-26-00-0-site",
      "type": "Location"
    }
  ],
  "meta": {
    "lastUpdated": "2023-04-12T00:00:00.000Z",
    "profile": [
      "https://interop.esante.gouv.fr/ig/fhir/eclaire/StructureDefinition/eclaire-researchstudy"
    ]
  },
  "contact": [
    {
      "extension": [
        {
          "valueHumanName": {
            "family": "Trial Information Support Line-TISL, Switzerland",
            "given": [
              "Head of EU"
            ],
            "use": "official"
          }
        },
        {
          "valueAddress": {
            "city": "INDISPONIBLE",
            "country": "INDISPONIBLE",
            "line": [
              "INDISPONIBLE"
            ],
            "postalCode": "INDISPONIBLE",
            "type": "physical",
            "use": "work"
          }
        },
        {
          "valueString": "INDISPONIBLE"
        }
      ],
      "telecom": [
        {
          "system": "phone",
          "use": "work",
          "value": "0041616881111"
        },
        {
          "system": "email",
          "use": "work",
          "value": "global.rochegenentechtrials@roche.com"
        }
      ]
    },
    {
      "extension": [
        {
          "valueHumanName": {
            "family": "INDISPONIBLE",
            "given": [
              "INDISPONIBLE"
            ],
            "use": "official"
          }
        },
        {
          "valueAddress": {
            "city": "INDISPONIBLE",
            "country": "INDISPONIBLE",
            "line": [
              "INDISPONIBLE"
            ],
            "postalCode": "INDISPONIBLE",
            "type": "physical",
            "use": "work"
          }
        },
        {
          "valueString": "INDISPONIBLE"
        },
        {
          "url": "https://interop.esante.gouv.fr/ig/fhir/eclaire/StructureDefinition/eclaire-contact-type",
          "valueCodeableConcept": {
            "coding": [
              {
                "code": "SCI",
                "display": "Scientifique / Scientific",
                "system": "https://interop.esante.gouv.fr/ig/fhir/eclaire/CodeSystem/eclaire-type-contact-code-system",
                "version": "0.1.0"
              }
            ],
            "text": "Contact Type"
          }
        }
      ],
      "telecom": [
        {
          "system": "phone",
          "use": "work",
          "value": "INDISPONIBLE"
        },
        {
          "system": "email",
          "use": "work",
          "value": "INDISPONIBLE"
        }
      ]
    },
    {
      "extension": [
        {
          "valueHumanName": {
            "family": "INDISPONIBLE",
            "given": [
              "INDISPONIBLE"
            ],
            "use": "official"
          }
        },
        {
          "valueAddress": {
            "city": "INDISPONIBLE",
            "country": "INDISPONIBLE",
            "line": [
              "INDISPONIBLE"
            ],
            "postalCode": "INDISPONIBLE",
            "type": "physical",
            "use": "work"
          }
        },
        {
          "valueString": "INDISPONIBLE"
        },
        {
          "url": "https://interop.esante.gouv.fr/ig/fhir/eclaire/StructureDefinition/eclaire-contact-type",
          "valueCodeableConcept": {
            "coding": [
              {
                "code": "PUB",
                "display": "Publique / Public",
                "system": "https://interop.esante.gouv.fr/ig/fhir/eclaire/CodeSystem/eclaire-type-contact-code-system",
                "version": "0.1.0"
              }
            ],
            "text": "Contact Type"
          }
        }
      ],
      "telecom": [
        {
          "system": "phone",
          "use": "work",
          "value": "INDISPONIBLE"
        },
        {
          "system": "email",
          "use": "work",
          "value": "INDISPONIBLE"
        }
      ]
    }
  ],
  "location": [
    {
      "coding": [
        {
          "code": "BE",
          "display": "Belgium",
          "system": "urn:iso:std:iso:3166",
          "version": "4.0.1"
        }
      ],
      "text": "Countries of recruitment"
    },
    {
      "coding": [
        {
          "code": "DE",
          "display": "Germany",
          "system": "urn:iso:std:iso:3166",
          "version": "4.0.1"
        }
      ],
      "text": "Countries of recruitment"
    },
    {
      "coding": [
        {
          "code": "ES",
          "display": "Spain",
          "system": "urn:iso:std:iso:3166",
          "version": "4.0.1"
        }
      ],
      "text": "Countries of recruitment"
    },
    {
      "coding": [
        {
          "code": "FR",
          "display": "France",
          "system": "urn:iso:std:iso:3166",
          "version": "4.0.1"
        }
      ],
      "text": "Countries of recruitment"
    },
    {
      "coding": [
        {
          "code": "HU",
          "display": "Hungary",
          "system": "urn:iso:std:iso:3166",
          "version": "4.0.1"
        }
      ],
      "text": "Countries of recruitment"
    },
    {
      "coding": [
        {
          "code": "IT",
          "display": "Italy",
          "system": "urn:iso:std:iso:3166",
          "version": "4.0.1"
        }
      ],
      "text": "Countries of recruitment"
    },
    {
      "coding": [
        {
          "code": "PL",
          "display": "Poland",
          "system": "urn:iso:std:iso:3166",
          "version": "4.0.1"
        }
      ],
      "text": "Countries of recruitment"
    },
    {
      "coding": [
        {
          "code": "PT",
          "display": "Portugal",
          "system": "urn:iso:std:iso:3166",
          "version": "4.0.1"
        }
      ],
      "text": "Countries of recruitment"
    }
  ],
  "id": "2022-500014-26-00",
  "category": [
    {
      "coding": [
        {
          "display": "REG536"
        }
      ],
      "text": "Regulation Code"
    },
    {
      "coding": [
        {
          "display": "un essai clinique"
        }
      ],
      "text": "Reglementation Precision"
    }
  ],
  "resourceType": "ResearchStudy",
  "status": "active"
}

Solution proposée

paulineheurtebise commented 1 year ago

Je pense que que c'est les URL des extensions dans contact qu'il manque : (à gauche sortie swagger à droite exemple IG) image

NerOcrO commented 1 year ago

C'est corrigé et en production