Skip to content

HealtDCAT-AP improvements - #247

Merged
vincentVindevogel merged 1 commit into
mainfrom
feature/healthdcatap-viewmode
Oct 15, 2026
Merged

vincentVindevogel merged 1 commit into
mainfrom
feature/healthdcatap-viewmode

Conversation

@fxprunayre

Copy link
Copy Markdown
Contributor
  • TableGroup / Add mandatory title
  • TableGroup / Column / csvw:titles was renamed csvw:title in v8
  • Fix dct:type not saved due to wrong base xpath
  • Quantum fields / Set all metric values to unset when adding one
  • Use textarea for population coverage
  • Improve view mode
image

Test record example

<rdf:RDF xmlns:healthdcatap="http://healthdataportal.eu/ns/health#"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:cv="http://data.europa.eu/m8g/"
         xmlns:vcard="http://www.w3.org/2006/vcard/ns#"
         xmlns:csvw="http://www.w3.org/ns/csvw#"
         xmlns:foaf="http://xmlns.com/foaf/0.1/"
         xmlns:dpv="https://w3id.org/dpv#"
         xmlns:owl="http://www.w3.org/2002/07/owl#"
         xmlns:mdcat="https://data.vlaanderen.be/ns/metadata-dcat#"
         xmlns:schema="http://schema.org/"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:dc="http://purl.org/dc/elements/1.1/"
         xmlns:cnt="http://www.w3.org/2011/content#"
         xmlns:dct="http://purl.org/dc/terms/"
         xmlns:oa="http://www.w3.org/ns/oa#"
         xmlns:dcat="http://www.w3.org/ns/dcat#"
         xmlns:dqv="http://www.w3.org/ns/dqv#"
         xmlns:spdx="http://spdx.org/rdf/terms#"
         xmlns:dcatap="http://data.europa.eu/r5r/"
         xmlns:locn="http://www.w3.org/ns/locn#"
         xmlns:skos="http://www.w3.org/2004/02/skos/core#"
         xmlns:geodcatap="http://data.europa.eu/930/"
         xmlns:mobilitydcatap="https://w3id.org/mobilitydcat-ap#"
         xmlns:adms="http://www.w3.org/ns/adms#">
   <dcat:Catalog rdf:about="http://localhost:8080/geonetwork/srv/resources/catalogs/00eb9906-f230-4460-ae2c-9b8dd7ecac34">
      <dcat:contactPoint>
         <vcard:Organization>
            <vcard:organization-name>My organization</vcard:organization-name>
         </vcard:Organization>
      </dcat:contactPoint>
      <dcat:dataset>
         <dcat:Dataset rdf:about="http://localhost:8080/geonetwork/srv/resources/datasets/56971f5b-0b5b-408e-ac4f-d58916c2f153">
            <dcat:distribution>
               <dcat:Distribution rdf:about="http://localhost:8080/geonetwork/srv/resources/distributions/32480641-26a6-4e2f-a50e-ff75f01dcf60">
                  <dcat:accessURL rdf:resource="https://www.hda.belgium.be/"/>
                  <dct:title xml:lang="en">Belgian Health Data Agency</dct:title>
                  <dct:identifier>32480641-26a6-4e2f-a50e-ff75f01dcf60</dct:identifier>
               </dcat:Distribution>
            </dcat:distribution>
            <dcat:distribution>
               <dcat:Distribution rdf:about="http://localhost:8080/geonetwork/srv/resources/distributions/55847efc-3801-4e9a-bc7f-83f0b21b7f92">
                  <dcat:accessURL rdf:resource="https://ehds.healthdataportal.eu/csvreader/csv_dashboard_v1.0.html?rdfUrl=https://github.com/CAVDgit/EHDS2_UC_Sciensano/blob/main/use_case_1_synthetic_data_10K_individuals.csv"/>
                  <dcat:downloadURL rdf:resource="https://github.com/CAVDgit/EHDS2_UC_Sciensano/blob/main/use_case_1_synthetic_data_10K_individuals.csv"/>
                  <dct:description xml:lang="en">ID_TU_STATBEL_POP</dct:description>
                  <dct:title xml:lang="en">Proxy data generating for the EHDS2 Pilot project Sciensano Use Case</dct:title>
                  <dct:identifier>55847efc-3801-4e9a-bc7f-83f0b21b7f92</dct:identifier>
               </dcat:Distribution>
            </dcat:distribution>
            <dcat:keyword xml:lang="en">COVID-19</dcat:keyword>
            <dcat:keyword xml:lang="en">SARS-CoV-2</dcat:keyword>
            <dcat:keyword xml:lang="en">Data linkage</dcat:keyword>
            <dcat:keyword xml:lang="en">Post-market authorization</dcat:keyword>
            <dcat:keyword xml:lang="en">Public health surveillance</dcat:keyword>
            <dcat:landingPage rdf:resource="https://sciensano.service-now.com/sp"/>
            <dcat:theme>
               <skos:Concept rdf:about="http://publications.europa.eu/resource/authority/data-theme/HEAL">
                  <skos:prefLabel xml:lang="en">Health</skos:prefLabel>
                  <skos:inScheme rdf:resource="http://publications.europa.eu/resource/authority/data-theme"/>
               </skos:Concept>
            </dcat:theme>
            <adms:identifier>
               <adms:Identifier>
                  <skos:notation>http://fdp2.healthdataportal.eu/dataset/8bb235c9-7bcd-4290-a188-49fe33c2170c</skos:notation>
               </adms:Identifier>
            </adms:identifier>
            <adms:versionNotes xml:lang="en">Dataset continuously updated</adms:versionNotes>
            <dct:accessRights>
               <skos:Concept rdf:about="http://publications.europa.eu/resource/authority/access-right/PUBLIC">
                  <rdf:type rdf:resource="http://purl.org/dc/terms/RightsStatement"/>
                  <skos:prefLabel xml:lang="en">public</skos:prefLabel>
                  <skos:inScheme rdf:resource="http://publications.europa.eu/resource/authority/access-right"/>
               </skos:Concept>
            </dct:accessRights>
            <dct:description xml:lang="en">The LINK-VACC project links selected variables from existing registries for COVID-19 vaccine surveillance, in order to ensure the monitoring of COVID- 19 vaccines in the phase following their marketing authorization (post-authorization surveillance). This includes the measurement of uptake and coverage of the vaccination, the estimation of vaccine effectiveness, and continuous monitoring of the vaccines safety. For these purposes, existing pseudonymized data on COVID-19 laboratory test results, hospitalized COVID-19 patients, COVID-19 vaccinations, underlying health problems, socio-demographic and -economic factors, and healthcare worker status are linked. | Funding: The project is funded by the Belgian Federal Authorities | Geo coverage: Nuts 3 | Target population: General population | Personal identifier: National identifier | Level of aggregation: Individual | Linkage possible: Yes | Regulations for data sharing: External investigators with a request for selected data should fill in the data request form (https://epistat.wiv-isp.be/datarequest). Depending on the type of desired data (anonymous or pseudonymized), the provision of data will have to be assessed by the Belgian Information Security Committee Social Security &amp; Health based on legal and ethical regulations, and is outlined in a data transfer agreement with the data owner (Sciensano).</dct:description>
            <dct:identifier>56971f5b-0b5b-408e-ac4f-d58916c2f153</dct:identifier>
            <dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2023-01-20</dct:issued>
            <dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2024-12-31</dct:modified>
            <dct:provenance>
               <dct:ProvenanceStatement>
                  <dct:description xml:lang="en">The data for the LINK-VACC project is sourced from several existing databases, including Vaccinnet+, HealthData COVID-19 database (Contact tracing and Clinic database), CoBRHA, STATBEL, and the AIM database. These databases collectively provide comprehensive demographic, clinical, and socio-economic data relevant to the project's objectives</dct:description>
               </dct:ProvenanceStatement>
            </dct:provenance>
            <dct:publisher>
               <foaf:Agent>
                  <foaf:name xml:lang="en">Unknown</foaf:name>
               </foaf:Agent>
            </dct:publisher>
            <dct:temporal>
               <dct:PeriodOfTime>
                  <dcat:startDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2020-03-01</dcat:startDate>
                  <dcat:endDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2024-12-31</dcat:endDate>
               </dct:PeriodOfTime>
            </dct:temporal>
            <dct:title xml:lang="en">Linking of registers for COVID-19 vaccine surveillance - Test record</dct:title>
            <dct:type>
               <skos:Concept rdf:about="http://publications.europa.eu/resource/authority/dataset-type/GEOSPATIAL">
                  <skos:prefLabel xml:lang="en">Geospatial data</skos:prefLabel>
                  <skos:inScheme rdf:resource="http://publications.europa.eu/resource/authority/dataset-type"/>
               </skos:Concept>
            </dct:type>
            <dcat:version>Project HDBP0250</dcat:version>
            <dcatap:applicableLegislation rdf:resource="http://data.europa.eu/eli/reg_impl/2023/138/oj"/>
            <dcatap:hvdCategory>
               <skos:Concept rdf:about="http://data.europa.eu/bna/c_424bb0b4">
                  <skos:prefLabel xml:lang="en">Current healthcare expenditure</skos:prefLabel>
                  <skos:inScheme rdf:resource="http://data.europa.eu/bna/asd487ae75"/>
               </skos:Concept>
            </dcatap:hvdCategory>
            <dct:alternative xml:lang="en">LINK-VACC</dct:alternative>
            <healthdcatap:healthCategory>
               <skos:Concept rdf:about="https://hdeu-dcat.acceptance.data.health.europa.eu/resource/authority/healthcategories/NRPE">
                  <skos:prefLabel xml:lang="en">Aggregated data on healthcare needs, resources allocated to healthcare, the provision of and access to healthcare, healthcare expenditure and financing</skos:prefLabel>
                  <skos:inScheme rdf:resource="https://hdeu-dcat.acceptance.data.health.europa.eu/resource/authority/healthcategories"/>
               </skos:Concept>
            </healthdcatap:healthCategory>
            <healthdcatap:healthTheme>
               <skos:Concept rdf:about="https://hdeu-dcat.acceptance.data.health.europa.eu/resource/authority/health-theme/IMMUNIZATION_DISEASES">
                  <skos:prefLabel xml:lang="en">Immunization &amp; vaccine-preventable diseases</skos:prefLabel>
                  <skos:inScheme rdf:resource="https://hdeu-dcat.acceptance.data.health.europa.eu/resource/authority/health-theme"/>
               </skos:Concept>
            </healthdcatap:healthTheme>
            <healthdcatap:hdab>
               <foaf:Agent>
                  <foaf:name xml:lang="en">Sciensano</foaf:name>
                  <dct:type>
                     <skos:Concept rdf:about="http://purl.org/adms/publishertype/NonProfitOrganisation">
                        <skos:prefLabel xml:lang="en">Non-Profit Organisation</skos:prefLabel>
                        <skos:inScheme rdf:resource="http://purl.org/adms/publishertype/1.0"/>
                     </skos:Concept>
                  </dct:type>
                  <foaf:workplaceHomepage rdf:resource="https://sciensano.be"/>
                  <foaf:mbox rdf:resource="mailto:covacsurv@sciensano.be"/>
               </foaf:Agent>
            </healthdcatap:hdab>
            <healthdcatap:hasStructuredData>true</healthdcatap:hasStructuredData>
            <healthdcatap:hasCodingSystem>
               <dct:Standard rdf:about="https://hdeu-dcat.acceptance.data.health.europa.eu/resource/authority/coding-system/ICD-O-3">
                  <dct:identifier>https://hdeu-dcat.acceptance.data.health.europa.eu/resource/authority/coding-system/ICD-O-3</dct:identifier>
                  <dct:title xml:lang="en">International Classification of Diseases for Oncology, 3rd Edition</dct:title>
               </dct:Standard>
            </healthdcatap:hasCodingSystem>
            <healthdcatap:hasCodingSystem>
               <dct:Standard rdf:about="https://hdeu-dcat.acceptance.data.health.europa.eu/resource/authority/coding-system/GMDN">
                  <dct:identifier>https://hdeu-dcat.acceptance.data.health.europa.eu/resource/authority/coding-system/GMDN</dct:identifier>
                  <dct:title xml:lang="en">Global Medical Device Nomenclature</dct:title>
               </dct:Standard>
            </healthdcatap:hasCodingSystem>
            <healthdcatap:numberOfRecords>124866488</healthdcatap:numberOfRecords>
            <healthdcatap:numberOfUniqueIndividuals>8914722</healthdcatap:numberOfUniqueIndividuals>
            <healthdcatap:maxTypicalAge>110</healthdcatap:maxTypicalAge>
            <healthdcatap:minTypicalAge>0</healthdcatap:minTypicalAge>
            <healthdcatap:hasVariables>
               <csvw:TableGroup>
                  <dct:title xml:lang="en">TABLE GROUP</dct:title>
                  <csvw:table>
                     <csvw:Table>
                        <dct:title xml:lang="en">TABLE</dct:title>
                        <csvw:column>
                           <csvw:Column>
                              <csvw:name xml:lang="en">COL1</csvw:name>
                              <csvw:title xml:lang="en">Column 1</csvw:title>
                              <dct:description xml:lang="en">Description</dct:description>
                              <csvw:datatype>string</csvw:datatype>
                           </csvw:Column>
                        </csvw:column>
                        <csvw:column>
                           <csvw:Column>
                              <csvw:name xml:lang="en">COL2</csvw:name>
                              <csvw:title xml:lang="en"/>
                              <dct:description xml:lang="en"/>
                              <csvw:datatype>boolean</csvw:datatype>
                           </csvw:Column>
                        </csvw:column>
                     </csvw:Table>
                  </csvw:table>
               </csvw:TableGroup>
            </healthdcatap:hasVariables>
            <dpv:hasPersonalData>
               <dpv:PersonalData rdf:about="https://w3id.org/dpv/pd#Age"/>
            </dpv:hasPersonalData>
            <healthdcatap:populationCoverage xml:lang="en">The population targeted by the LINK-VACC project comprises all individuals in Belgium who have received a COVID-19 vaccine, undergone testing for COVID-19, or have been hospitalized with a confirmed diagnosis of COVID-19. The project also considers healthcare professionals and the general Belgian population for understanding vaccination coverage and effectiveness, especially among those with comorbidities and varying socio-economic backgrounds.</healthdcatap:populationCoverage>
            <dqv:hasQualityMeasurement>
               <dqv:QualityMeasurement rdf:about="http://quantumproject.eu/vocab-quantum/#Accessibility_measurement1">
                  <dqv:computedOn rdf:resource="http://localhost:8080/geonetwork/srv/resources/datasets/56971f5b-0b5b-408e-ac4f-d58916c2f153"/>
                  <dqv:isMeasurementOf>
                     <dqv:Metric rdf:about="http://quantumproject.eu/vocab-quantum/#Accessibility_metric1">
                        <skos:definition xml:lang="en">Availability of a data access &amp; usage policy at the time of release of the dataset</skos:definition>
                        <dqv:expectedDataType rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
                        <dqv:inDimension rdf:resource="http://quantumproject.eu/vocab-quantum/#Accessibility"/>
                     </dqv:Metric>
                  </dqv:isMeasurementOf>
                  <dqv:value rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</dqv:value>
               </dqv:QualityMeasurement>
            </dqv:hasQualityMeasurement>
         </dcat:Dataset>
      </dcat:dataset>
      <dcat:record>
         <dcat:CatalogRecord rdf:about="http://localhost:8080/geonetwork/srv/api/records/d3535d02-aea7-48a3-a9ce-bba064c2515d">
            <foaf:primaryTopic rdf:resource="http://localhost:8080/geonetwork/srv/resources/datasets/56971f5b-0b5b-408e-ac4f-d58916c2f153"/>
            <dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2026-10-14</dct:modified>
            <dct:conformsTo>
               <dct:Standard rdf:about="https://interoperable-europe.ec.europa.eu/collection/semic-support-centre/solution/dcat-application-profile-data-portals-europe/release/300">
                  <dct:identifier>https://interoperable-europe.ec.europa.eu/collection/semic-support-centre/solution/dcat-application-profile-data-portals-europe/release/300</dct:identifier>
                  <dct:title xml:lang="en">DCAT-AP</dct:title>
                  <dct:description xml:lang="en">The DCAT Application Profile for data portals in Europe (DCAT-AP) is a specification based on W3C's Data Catalogue vocabulary (DCAT) for describing public sector datasets in Europe. Its basic use case is to enable a cross-data portal search for datasets and make public sector data better searchable across borders and sectors. This can be achieved by the exchange of descriptions of data sets among data portals.</dct:description>
                  <owl:versionInfo>3.0.1</owl:versionInfo>
               </dct:Standard>
            </dct:conformsTo>
            <dct:conformsTo>
               <dct:Standard rdf:about="https://healthdataeu.pages.code.europa.eu/healthdcat-ap/releases/release-8/">
                  <dct:identifier>https://healthdataeu.pages.code.europa.eu/healthdcat-ap/releases/release-8/</dct:identifier>
                  <dct:title xml:lang="en">HealthDCAT-AP</dct:title>
                  <dct:description xml:lang="en">The HealthDCAT Application Profile (HealthDCAT-AP) is a domain-specific metadata model designed to support the implementation of the secondary use framework under the European Health Data Space (EHDS).</dct:description>
                  <owl:versionInfo>8.0.0</owl:versionInfo>
               </dct:Standard>
            </dct:conformsTo>
            <dct:language>
               <skos:Concept rdf:about="http://publications.europa.eu/resource/authority/language/ENG">
                  <rdf:type rdf:resource="http://purl.org/dc/terms/LinguisticSystem"/>
                  <skos:prefLabel xml:lang="en">English</skos:prefLabel>
                  <skos:inScheme rdf:resource="http://publications.europa.eu/resource/authority/language"/>
               </skos:Concept>
            </dct:language>
            <dct:identifier>d3535d02-aea7-48a3-a9ce-bba064c2515d</dct:identifier>
            <dct:created rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2026-10-14</dct:created>
         </dcat:CatalogRecord>
      </dcat:record>
      <dct:description xml:lang="en">Deze catalogus bevat datasets ontsloten door My organization</dct:description>
      <dct:identifier>00eb9906-f230-4460-ae2c-9b8dd7ecac34</dct:identifier>
      <dct:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2019-09-01</dct:issued>
      <dct:language>
         <skos:Concept rdf:about="http://publications.europa.eu/resource/authority/language/NLD">
            <rdf:type rdf:resource="http://purl.org/dc/terms/LinguisticSystem"/>
            <skos:prefLabel xml:lang="en">Nederlands</skos:prefLabel>
            <skos:inScheme rdf:resource="http://publications.europa.eu/resource/authority/language"/>
         </skos:Concept>
      </dct:language>
      <dct:license>
         <dct:LicenseDocument rdf:about="https://data.vlaanderen.be/id/licentie/creative-commons-zero-verklaring/v1.0">
            <dct:type>
               <skos:Concept rdf:about="http://purl.org/adms/licencetype/PublicDomain">
                  <skos:prefLabel xml:lang="en">Werk in het publiek domein</skos:prefLabel>
                  <skos:inScheme rdf:resource="http://purl.org/adms/licencetype/1.0"/>
               </skos:Concept>
            </dct:type>
            <dct:title xml:lang="en">Creative Commons Zero verklaring</dct:title>
            <dct:description xml:lang="en">De instantie doet afstand van haar intellectuele eigendomsrechten voor zover dit wettelijk mogelijk is. Hierdoor kan de gebruiker de data hergebruiken voor eender welk doel, zonder een verplichting op naamsvermelding. Deze is de welbekende CC0 licentie.</dct:description>
            <dct:identifier>https://data.vlaanderen.be/id/licentie/creative-commons-zero-verklaring/v1.0</dct:identifier>
         </dct:LicenseDocument>
      </dct:license>
      <dct:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2019-09-01</dct:modified>
      <dct:publisher>
         <foaf:Agent rdf:about="http://localhost:8080/geonetwork/srv/resources/organizations/My%20organization">
            <foaf:name xml:lang="en">My organization</foaf:name>
            <dct:type>
               <skos:Concept rdf:about="http://purl.org/adms/publishertype/LocalAuthority">
                  <skos:prefLabel xml:lang="en">Lokaal bestuur</skos:prefLabel>
                  <skos:inScheme rdf:resource="http://purl.org/adms/publishertype/1.0"/>
               </skos:Concept>
            </dct:type>
         </foaf:Agent>
      </dct:publisher>
      <dct:spatial>
         <dct:Location rdf:about="http://publications.europa.eu/resource/authority/country/BEL"/>
      </dct:spatial>
      <dct:title xml:lang="en">Open Data Catalogus van My organization</dct:title>
      <foaf:homepage>
         <foaf:Document rdf:about="http://localhost:8080/geonetwork/srv/eng/">
            <foaf:name xml:lang="en">My GeoNetwork catalogue</foaf:name>
         </foaf:Document>
      </foaf:homepage>
   </dcat:Catalog>
</rdf:RDF>

* TableGroup / Add mandatory title
* TableGroup / Column / `csvw:titles` was renamed `csvw:title` in v8
* Fix `dct:type` not saved due to wrong base xpath
* Quantum fields / Set all metric values to unset when adding one
* Use textarea for population coverage
* Improve view mode
@vincentVindevogel
vincentVindevogel merged commit 5c12191 into main Oct 15, 2026
2 checks passed
@fxprunayre
fxprunayre deleted the feature/healthdcatap-viewmode branch October 16, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants