{
  "resourceType": "StructureDefinition",
  "url": "http://digen.nublar.de/fhir/StructureDefinition/DataSourceTypeExtension",
  "name": "DataSourceTypeExtension",
  "status": "draft",
  "fhirVersion": "3.0.1",
  "kind": "complex-type",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "MedicationStatement"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "min": 0,
        "max": "1"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://digen.nublar.de/fhir/StructureDefinition/DataSourceTypeExtension"
      },
      {
        "id": "Extension.value[x]:valueCode",
        "path": "Extension.valueCode",
        "sliceName": "valueCode",
        "short": "DataSourceType",
        "definition": "Defines the type of data source of the object",
        "comment": "Defines the type of data source of the object. This enables the DiGeN backend to distinguish between different variants of the same resource, based on where the data is from.",
        "min": 1,
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "ValueSet for data source types in DiGeN",
          "valueSetUri": "http://digen.nublar.de/fhir/ValueSet/dataSourceTypes"
        }
      }
    ]
  }
}