PackagesCanonicalsLogsProblems
    Packages
    de.nfdi4health.mds@2.0.0
    https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry
{
  "description": "Group of items applicable only to registries.",
  "_filename": "StructureDefinition-nfdi4health-pr-mds-registry.json",
  "package_name": "de.nfdi4health.mds",
  "date": null,
  "derivation": "constraint",
  "publisher": "NFDI4Health",
  "fhirVersion": "4.0.1",
  "name": "NFDI4Health_PR_MDS_Registry",
  "mapping": [ {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/fhir/workflow",
    "name": "Workflow Pattern",
    "identity": "workflow"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  }, {
    "uri": "http://hl7.org/fhir/object-implementation",
    "name": "Object Implementation Information",
    "identity": "objimpl"
  }, {
    "name": "NFDI4Health to FHIR Mapping",
    "identity": "NFDI4Health"
  } ],
  "abstract": false,
  "type": "Library",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "NFDI4Health PR MDS Registry",
  "package_version": "2.0.0",
  "status": "draft",
  "id": "d419dfaa-0419-4286-a4c0-aae69b2462c1",
  "kind": "resource",
  "url": "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry",
  "version": "0.9",
  "differential": {
    "element": [ {
      "id": "Library",
      "path": "Library",
      "mapping": [ {
        "map": "Design",
        "identity": "NFDI4Health"
      } ],
      "constraint": [ {
        "key": "biosamples-a",
        "human": "0..*, if Design.dataSource.general == 'C70699'",
        "source": "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry",
        "severity": "error",
        "expression": "extension.extension.where(url='general').valueCoding.where(code = 'C70699').exists() implies extension.extension.where(url='biosamples').exists()"
      }, {
        "key": "biosamples-b",
        "human": "0..0, if Design.dataSource.general != 'C70699'",
        "source": "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry",
        "severity": "error",
        "expression": "extension.extension.where(url='general').valueCoding.where(code = 'C70699').exists().not() implies extension.extension.where(url='biosamples').exists().not()"
      }, {
        "key": "imaging-a",
        "human": "0..*, if Design.dataSource.general == '031'",
        "source": "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry",
        "severity": "error",
        "expression": "extension.extension.where(url='general').valueCoding.where(code = '031').exists() implies extension.extension.where(url='imaging').exists()"
      }, {
        "key": "imaging-b",
        "human": "0..0, if Design.dataSource.general != '031'",
        "source": "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry",
        "severity": "error",
        "expression": "extension.extension.where(url='general').valueCoding.where(code = '031').exists().not() implies extension.extension.where(url='imaging').exists().not()"
      }, {
        "key": "omics-a",
        "human": "0..*, if Design.dataSource.general == '033'",
        "source": "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry",
        "severity": "error",
        "expression": "extension.extension.where(url='general').valueCoding.where(code = '033').exists() implies extension.extension.where(url='omics').exists()"
      }, {
        "key": "omics-b",
        "human": "0..0, if Design.dataSource.general != '033'",
        "source": "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry",
        "severity": "error",
        "expression": "extension.extension.where(url='general').valueCoding.where(code = '033').exists().not() implies extension.extension.where(url='omics').exists().not()"
      }, {
        "key": "supportingInformation-a",
        "human": "Cardinality: 0..*, if Design.dataSharingPlan.generally == '373066001'",
        "source": "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry",
        "severity": "error",
        "expression": "extension.extension.where(url='generally').valueCoding.where(code = '373066001').exists() implies extension.extension.where(url='supportingInformation').exists()"
      }, {
        "key": "supportingInformation-b",
        "human": "Cardinality: 0..0, if Design.dataSharingPlan.generally != '373066001'",
        "source": "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry",
        "severity": "error",
        "expression": "extension.extension.where(url='generally').valueCoding.where(code = '373066001').exists().not() implies extension.extension.where(url='supportingInformation').exists().not()"
      }, {
        "key": "timeFrame-a",
        "human": "Cardinality: 0..*, if Design.dataSharingPlan.generally == '373066001'",
        "source": "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry",
        "severity": "error",
        "expression": "extension.extension.where(url='generally').valueCoding.where(code = '373066001').exists() implies extension.extension.where(url='timeFrame').exists()"
      }, {
        "key": "timeFrame-b",
        "human": "Cardinality: 0..0, if Design.dataSharingPlan.generally != '373066001'",
        "source": "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry",
        "severity": "error",
        "expression": "extension.extension.where(url='generally').valueCoding.where(code = '373066001').exists().not() implies extension.extension.where(url='timeFrame').exists().not()"
      }, {
        "key": "accessCriteria-a",
        "human": "Cardinality: 0..*, if Design.dataSharingPlan.generally == '373066001'",
        "source": "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry",
        "severity": "error",
        "expression": "extension.extension.where(url='generally').valueCoding.where(code = '373066001').exists() implies extension.extension.where(url='accessCriteria').exists()"
      }, {
        "key": "accessCriteria-b",
        "human": "Cardinality: 0..0, if Design.dataSharingPlan.generally != '373066001'",
        "source": "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry",
        "severity": "error",
        "expression": "extension.extension.where(url='generally').valueCoding.where(code = '373066001').exists().not() implies extension.extension.where(url='accessCriteria').exists().not()"
      }, {
        "key": "recordLinkage-a",
        "human": "Cardinality: 1..1, if Design.dataSharingPlan.recordLinkage == 'Yes'",
        "source": "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry",
        "severity": "error",
        "expression": "extension.extension.where(url='recordLinkage').where(value=true).exists()  implies extension.where(url='https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-ex-mds-record-linkage').exists()"
      }, {
        "key": "recordLinkage-b",
        "human": "Cardinality: 0..0, if Design.dataSharingPlan.recordLinkage == 'No'",
        "source": "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry",
        "severity": "error",
        "expression": "extension.extension.where(url='recordLinkage').where(value=false).exists() implies extension.where(url='https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-ex-mds-record-linkage').exists().not()"
      }, {
        "key": "legalBasisDetails-a",
        "human": "Cardinality: 1..1, if RecordLinkage.legalBasis == 'True'",
        "source": "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry",
        "severity": "error",
        "expression": "extension.extension.where(url='legalBasis').where(value=true).exists() implies extension.extension.where(url='legalBasisDetails').exists()"
      }, {
        "key": "legalBasisDetails-b",
        "human": "Cardinality: 0..0, if RecordLinkage.legalBasis == 'False'",
        "source": "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-registry",
        "severity": "error",
        "expression": "extension.extension.where(url='legalBasis').where(value=false).exists() implies extension.extension.where(url='legalBasisDetails').exists().not()"
      } ]
    }, {
      "id": "Library.extension",
      "min": 5,
      "path": "Library.extension",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Library.extension:groupsOfDiseases",
      "max": "1",
      "min": 1,
      "path": "Library.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-ex-mds-groups-of-diseases" ]
      } ],
      "mapping": [ {
        "map": "Design.groupsOfDiseases",
        "identity": "NFDI4Health"
      } ],
      "sliceName": "groupsOfDiseases"
    }, {
      "id": "Library.extension:ethicsCommitteeApproval",
      "max": "1",
      "min": 0,
      "path": "Library.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-ex-mds-library-ethics-approval" ]
      } ],
      "sliceName": "ethicsCommitteeApproval"
    }, {
      "id": "Library.extension:keywords",
      "max": "*",
      "min": 0,
      "path": "Library.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-ex-mds-keywords" ]
      } ],
      "sliceName": "keywords"
    }, {
      "id": "Library.extension:descriptions",
      "max": "1",
      "min": 1,
      "path": "Library.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-ex-mds-descriptions" ]
      } ],
      "mapping": [ {
        "map": "Resource.descriptions",
        "identity": "NFDI4Health"
      } ],
      "sliceName": "descriptions"
    }, {
      "id": "Library.extension:dataSource",
      "max": "1",
      "min": 0,
      "path": "Library.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-ex-mds-data-source" ]
      } ],
      "sliceName": "dataSource"
    }, {
      "id": "Library.extension:subject",
      "max": "1",
      "min": 1,
      "path": "Library.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-ex-mds-subject" ]
      } ],
      "sliceName": "subject"
    }, {
      "id": "Library.extension:outcomes",
      "max": "*",
      "min": 0,
      "path": "Library.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-ex-mds-library-outcomes" ]
      } ],
      "sliceName": "outcomes"
    }, {
      "id": "Library.extension:assessments",
      "max": "*",
      "min": 0,
      "path": "Library.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-ex-mds-assessments" ]
      } ],
      "sliceName": "assessments"
    }, {
      "id": "Library.extension:dataSharingPlan",
      "max": "1",
      "min": 1,
      "path": "Library.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-ex-mds-data-sharing-plan" ]
      } ],
      "sliceName": "dataSharingPlan"
    }, {
      "id": "Library.extension:dataProviders",
      "max": "1",
      "min": 0,
      "path": "Library.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-ex-mds-library-data-providers" ]
      } ],
      "sliceName": "dataProviders"
    }, {
      "id": "Library.extension:dataProvidersNumber",
      "max": "1",
      "min": 0,
      "path": "Library.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-ex-mds-library-data-providers-number" ]
      } ],
      "sliceName": "dataProvidersNumber"
    }, {
      "id": "Library.extension:population",
      "max": "1",
      "min": 1,
      "path": "Library.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-ex-mds-library-population" ]
      } ],
      "sliceName": "population"
    }, {
      "id": "Library.extension:recordLinkage",
      "max": "1",
      "min": 0,
      "path": "Library.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-ex-mds-record-linkage" ]
      } ],
      "sliceName": "recordLinkage"
    }, {
      "id": "Library.identifier",
      "path": "Library.identifier",
      "short": "Alternative identifiers",
      "mapping": [ {
        "map": "Resource.idsAlternative",
        "identity": "NFDI4Health"
      } ],
      "definition": "Group of items providing information about identifiers (IDs) assigned to the given [RESOURCE] by another registering systems, e.g. a registry of clinical trials or a data repository."
    }, {
      "id": "Library.identifier.type",
      "min": 1,
      "path": "Library.identifier.type",
      "short": "Type of the registry",
      "binding": {
        "strength": "required",
        "valueSet": "https://www.nfdi4health.de/fhir/metadataschema/ValueSet/nfdi4health-vs-mds-id-type-nci-local",
        "description": "Value set defining codes to specify the type of a resource identifier."
      },
      "mapping": [ {
        "map": "Resource.idsAlternative.scheme",
        "identity": "NFDI4Health"
      } ],
      "definition": "Type/name of the system where the given [RESOURCE] is already registered."
    }, {
      "id": "Library.identifier.value",
      "min": 1,
      "path": "Library.identifier.value",
      "example": [ {
        "label": "Identifier (ID) assigned to the given [RESOURCE] by another registering system, e.g. by a registry of clinical trials or a data repository.",
        "valueString": "ISRCTN91495258"
      } ],
      "mapping": [ {
        "map": "Resource.idsAlternative.identifier",
        "identity": "NFDI4Health"
      } ],
      "definition": "Identifier"
    }, {
      "id": "Library.status",
      "path": "Library.status",
      "comment": "The item does not exist in NFDI4Health' MDS. Fixed to 'active' for all studies.",
      "fixedCode": "active"
    }, {
      "id": "Library.subject[x]",
      "path": "Library.subject[x]",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      }
    }, {
      "id": "Library.subject[x]:subjectReference",
      "max": "1",
      "min": 0,
      "path": "Library.subject[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-group-intended" ]
      } ],
      "mapping": [ {
        "map": "Design.eligibilityCriteria",
        "identity": "NFDI4Health"
      } ],
      "sliceName": "subjectReference"
    }, {
      "id": "Library.subject[x]:subjectCodeableConcept",
      "max": "1",
      "min": 0,
      "path": "Library.subject[x]",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mapping": [ {
        "map": "Design.subject",
        "identity": "NFDI4Health"
      } ],
      "sliceName": "subjectCodeableConcept"
    }, {
      "id": "Library.description",
      "path": "Library.description",
      "short": "Additional information about the [RESOURCE]",
      "comment": "Short input help: You can provide here specific aspects of the [RESOURCE] that could not be captured by other fields.",
      "mapping": [ {
        "map": "Design.comment",
        "identity": "NFDI4Health"
      } ],
      "definition": "Any additional information about specific aspects of the [RESOURCE] that could not be captured by other fields.."
    }, {
      "id": "Library.effectivePeriod",
      "path": "Library.effectivePeriod",
      "mapping": [ {
        "map": "Design.administrativeInformation.startDate",
        "identity": "NFDI4Health"
      }, {
        "map": "Design.administrativeInformation.endDate",
        "identity": "NFDI4Health"
      } ]
    }, {
      "id": "Library.effectivePeriod.start",
      "path": "Library.effectivePeriod.start",
      "short": "Start date",
      "comment": "Additional information: Preferred date format: DD.MM.YYYY. | Short input help: In case of a planned [RESOURCE], enter the intended start date. In case of an ongoing [RESOURCE], enter the actual start date.",
      "definition": "Start date of data collection for the [RESOURCE]."
    }, {
      "id": "Library.effectivePeriod.end",
      "path": "Library.effectivePeriod.end",
      "short": "End date",
      "comment": "Additional information: Preferred date format: DD.MM.YYYY. | Short input help: In case of a planned or ongoing [RESOURCE], enter the intended end date. In case of a completed [RESOURCE], enter the actual end date.",
      "definition": "In case of a [RESOURCE] with patients or other participants, it is the date when the last participant is examined or receives an intervention, or the date of the last participant's last visit."
    }, {
      "id": "Library.topic",
      "path": "Library.topic",
      "short": "Primary focus of the [RESOURCE]",
      "mapping": [ {
        "map": "Design.focus",
        "identity": "NFDI4Health"
      } ],
      "definition": "Group of items providing information about the focus of the [RESOURCE] (e.g. medication, food, therapy, device, etc.)."
    }, {
      "id": "Library.topic.extension:uri",
      "max": "1",
      "min": 0,
      "path": "Library.topic.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-ex-mds-uri" ]
      } ],
      "mapping": [ {
        "map": "Design.focus.code",
        "identity": "NFDI4Health"
      } ],
      "sliceName": "uri"
    }, {
      "path": "Library.topic.coding",
      "min": 1,
      "definition": "Terminology/classification used for the focus area.",
      "short": "Terminology/classification",
      "binding": {
        "strength": "required",
        "valueSet": "https://www.nfdi4health.de/fhir/metadataschema/ValueSet/nfdi4health-vs-mds-study-conditions-classification-nci-local"
      },
      "max": "1",
      "id": "Library.topic.coding",
      "comment": "Short Input Help: If used, name of the terminology/classification.",
      "example": [ {
        "label": "Example of a terminology/classification",
        "valueCode": "C49469"
      } ]
    }, {
      "id": "Library.topic.coding.code",
      "path": "Library.topic.coding.code",
      "mapping": [ {
        "map": "Design.focus.classification",
        "identity": "NFDI4Health"
      } ]
    }, {
      "id": "Library.topic.text",
      "min": 1,
      "path": "Library.topic.text",
      "short": "Focus area",
      "comment": "Additional Information: The use of terms from established terminologies/classifications (e.g. SNOMED CT, ICD, etc.) is preferred. However, also self-assigned terms are allowed. | Short input help: Preferably, use terms from SNOMED CT (https://browser.ihtsdotools.org).",
      "mapping": [ {
        "map": "Design.focus.label",
        "identity": "NFDI4Health"
      } ],
      "definition": "Focus area of the [RESOURCE] (e.g. medication, food, therapy, device, etc.)."
    }, {
      "id": "Library.relatedArtifact",
      "max": "1",
      "path": "Library.relatedArtifact",
      "type": [ {
        "code": "RelatedArtifact",
        "profile": [ "https://www.nfdi4health.de/fhir/metadataschema/StructureDefinition/nfdi4health-pr-mds-related-artifact-resource" ]
      } ]
    } ]
  },
  "contact": [ {
    "telecom": [ {
      "value": "https://www.nfdi4health.de",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Library"
}