{
  "resourceType": "StructureDefinition",
  "id": "FormDefinitionPackage",
  "url": "https://thieme-compliance.de/fhir/StructureDefinition/FormDefinitionPackage",
  "version": "1.0.0",
  "name": "FormDefinitionPackage",
  "title": "FormDefinitionPackage",
  "status": "draft",
  "description": "This profile represents a package of Questionnaires that can be used to group related questionnaires together. It is designed to facilitate the management and distribution of questionnaires within a healthcare setting.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "List",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/List",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "List.extension:visibilityStatus",
        "path": "List.extension",
        "sliceName": "visibilityStatus",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://thieme-compliance.de/fhir/StructureDefinition/ListVisibilityStatusEx"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "List.status",
        "path": "List.status",
        "patternCode": "current"
      },
      {
        "id": "List.mode",
        "path": "List.mode",
        "patternCode": "working"
      },
      {
        "id": "List.source.display",
        "path": "List.source.display",
        "short": "The author or organization that published the FormDefinitionPackage",
        "mustSupport": true
      },
      {
        "id": "List.entry.id",
        "path": "List.entry.id",
        "short": "Id of the List entry, used for entry sorting and identification in frontend",
        "mustSupport": true
      },
      {
        "id": "List.entry.item.extension",
        "path": "List.entry.item.extension",
        "min": 1
      },
      {
        "id": "List.entry.item.extension:canonicalReference",
        "path": "List.entry.item.extension",
        "sliceName": "canonicalReference",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://thieme-compliance.de/fhir/StructureDefinition/ListEntryCanonicalEx"
            ]
          }
        ],
        "mustSupport": true
      }
    ]
  }
}