{
  "resourceType": "StructureDefinition",
  "url": "http://www.kbv.de/fhir/Profil/74_PR_VM_MPDokument",
  "version": "1.01",
  "name": "74_PR_VM_MPDokument",
  "title": "74_PR_VM_MPDokument",
  "status": "active",
  "date": "2018-06-28",
  "publisher": "Kassenärztliche Bundesvereinigung (KBV)",
  "description": "StructureDefinition für die Verwendung des KBV-Profils \"74_PR_VM_MPDokument\"",
  "copyright": "Copyright © [2018], Kassenärztliche Bundesvereinigung (KBV). All rights reserved.",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "DocumentReference",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "DocumentReference.masterIdentifier",
        "path": "DocumentReference.masterIdentifier",
        "mustSupport": true
      },
      {
        "id": "DocumentReference.status",
        "path": "DocumentReference.status",
        "mustSupport": true
      },
      {
        "id": "DocumentReference.type",
        "path": "DocumentReference.type",
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "DocumentC80Type"
            }
          ],
          "strength": "required",
          "valueSetUri": "http://www.kbv.de/fhir/ValueSet/74_VS_VM_DokumentTyp"
        }
      },
      {
        "id": "DocumentReference.type.coding",
        "path": "DocumentReference.type.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "DocumentReference.type.coding.system",
        "path": "DocumentReference.type.coding.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "DocumentReference.type.coding.code",
        "path": "DocumentReference.type.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "DocumentReference.indexed",
        "path": "DocumentReference.indexed",
        "mustSupport": true
      },
      {
        "id": "DocumentReference.author",
        "path": "DocumentReference.author",
        "max": "2",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://www.kbv.de/fhir/Profil/74_PR_VM_Behandler"
          },
          {
            "code": "Reference",
            "targetProfile": "http://www.kbv.de/fhir/Profil/74_PR_VM_System"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DocumentReference.author.reference",
        "path": "DocumentReference.author.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "DocumentReference.custodian",
        "path": "DocumentReference.custodian",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://www.kbv.de/fhir/Profil/74_PR_VM_Betriebsstaette"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "DocumentReference.custodian.reference",
        "path": "DocumentReference.custodian.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "DocumentReference.content",
        "path": "DocumentReference.content",
        "mustSupport": true
      },
      {
        "id": "DocumentReference.content.attachment",
        "path": "DocumentReference.content.attachment",
        "mustSupport": true
      },
      {
        "id": "DocumentReference.content.attachment.contentType",
        "path": "DocumentReference.content.attachment.contentType",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "DocumentReference.content.attachment.data",
        "path": "DocumentReference.content.attachment.data",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "DocumentReference.content.attachment.url",
        "path": "DocumentReference.content.attachment.url",
        "max": "0"
      }
    ]
  }
}