Skip to content

PatientRegistryDataset

Ola Ajigboye edited this page Jul 29, 2020 · 1 revision

Metadata model figure

{
	"PatientRegistryDataset ": {
		"publisher": "publisher",
		"title": "title",
		"populationCoverage": "PopulationCoverage",
		"theme": "theme",
		"page": "url"
	},
	"organisation": {
		"name": "name",
		"facility": "facility",
		"department": "department",
		"address": {
			"location": {
				"street": "street",
				"city": "city",
				"code": "code",
				"country": "country"
			}
		}
	}
}

ShEx

Patient Registry Dataset


@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix ejp-s: <http://purl.org/ejp-rd/metadata/shapes/> .
@prefix ejp: <http://purl.org/ejp-rd/vocabulary/> .
@prefix dct: <http://purl.org/dc/terms#> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .



ejp-s:PatientRegistryDatasetShape
    a rdfs:Class, sh:NodeShape ;
    sh:nodeKind sh:IRI;
    sh:targetClass ejp:PatientRegistryDataset ;
    rdfs:label "PatientRegistryDataset" ;
    rdfs:subClassOf rdfs:Resource ;

    sh:property [
        sh:path ejp:populationCoverage ;
        sh:name "PopulationCoverage" ;
        sh:description "The country from which the patients in the dataset come from." ;
        sh:class ejp:Location;
        sh:node ejp-s:LocationShape ;
        sh:minCount 1 ;
    ] ;
    sh:property [
        sh:path dcat:theme ;
        sh:name "DiseaseCode" ;
        sh:description "The disease code." ;
        sh:node ejp-s:DiseaseCodeShape ;
        sh:minCount 1 ;
    ] ;
    sh:property [
        sh:path dct:publisher ;
        sh:name "Organisation" ;
        sh:description "The organisation that published a catalog of registries." ;
        sh:class ejp:Organisation;
        sh:node ejp-s:OrganisationShape ;
        sh:maxCount 1 ;
        sh:minCount 1 ;
    ] .

ejp-s:OrganisationShape
        a rdfs:Class, sh:NodeShape ;
        sh:nodeKind sh:IRI;
        sh:targetClass ejp:Organisation ;
        rdfs:label "Organisation" ;
        rdfs:subClassOf rdfs:Resource ;

        sh:property [
            sh:path dct:spatial ;
            sh:name "Location" ;
            sh:description "The country where the organisation is situated." ;
            sh:class ejp:Location;
            sh:node ejp-s:LocationShape ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
        ] .

ejp-s:DiseaseCodeShape
        a rdfs:Class, sh:NodeShape ;
        sh:nodeKind sh:IRI;
        sh:targetClass ejp:DiseaseCode ;
        rdfs:label "DiseaseCode" ;
        rdfs:subClassOf rdfs:Resource ;

    sh:property [
        sh:path skos:inConceptSchema ;
        sh:name "PopulationCoverage" ;
        sh:description "The country from which the patients in the dataset come from." ;
        sh:node ejp:DiseaseCodeSystem ;
        sh:maxCount 1 ;
        sh:minCount 1 ;
    ] .


ejp-s:LocationShape
      a rdfs:Class, sh:NodeShape ;
      sh:nodeKind sh:IRI ;
      sh:targetClass ejp:Location ;
      rdfs:label "Localtion" ;
      rdfs:subClassOf rdfs:Resource .



Example turtle

An example rdf of patient registry dataset

@prefix :      <http://purl.org/ejp-rd/vocabulary/> .
@prefix dc:    <http://purl.org/dc/elements/1.1/> .
@prefix dcat:  <http://www.w3.org/ns/dcat#> .
@prefix dct:   <http://purl.org/dc/terms/> .
@prefix ejp:   <http://purl.org/ejp-rd/vocabulary/> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix ordo:  <http://www.orpha.net/ORDO/> .
@prefix owl:   <http://www.w3.org/2002/07/owl#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xml:   <http://www.w3.org/XML/1998/namespace> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .


ejp:PatientRegistryDataset_ErdriDOR_2478
        a                       ejp:PatientRegistryDataset ;
        dct:publisher           ejp:PatientRegistryDataset_ErdriDOR_2478_Organisation ;
        dct:title               "PCD Registry" ;
        ejp:populationCoverage  ejp:PatientRegistryDataset_ErdriDOR_2478_PopulationCoverage ;
        dcat:theme              ordo:Orphanet_137628 , ordo:Orphanet_244 , ordo:Orphanet_275742 , ordo:Orphanet_363250 , ordo:Orphanet_98861 ;
        foaf:page               "https://eu-rd-platform.jrc.ec.europa.eu/erdridor/register/2478" .

ejp:PatientRegistryDataset_ErdriDOR_2478_Organisation
        a            ejp:Organisation ;
        dct:spatial  ejp:PatientRegistryDataset_ErdriDOR_2478_Organisation_Location .

ejp:PatientRegistryDataset_ErdriDOR_2478_PopulationCoverage
        a            ejp:Location ;
        ejp:country  "International" .

ejp:PatientRegistryDataset_ErdriDOR_2478_Organisation_Location
        a            ejp:Location ;
        ejp:country  "GERMANY" .

Clone this wiki locally