{
  "resourceType": "StructureDefinition",
  "url": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Organization-ForAuditEvent",
  "name": "Organization-ForAuditEvent",
  "title": "API Framework Organization-ForAuditEvent",
  "status": "active",
  "experimental": false,
  "description": "Dedalus API Framework use case profile for Organization as a contained Resource in AuditEvent resources. Purpose is to represent the source organization where the audit event was produced.",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Organization",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Organization.id",
        "path": "Organization.id",
        "requirements": "Unique identifier of the Organization - it has to be unique locally, in the context of the containing AuditEvent resource.",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.contained",
        "path": "Organization.contained",
        "requirements": "Used to include contained resource to build a hierarchy of Organizations.",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier",
        "path": "Organization.identifier",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.identifier.system",
        "path": "Organization.identifier.system",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier.value",
        "path": "Organization.identifier.value",
        "requirements": "Unique identifier of the Organization.",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.type",
        "path": "Organization.type",
        "requirements": "Type of the Organization related to the Audit Event",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.type.coding",
        "path": "Organization.type.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.type.coding.system",
        "path": "Organization.type.coding.system",
        "min": 1,
        "fixedUri": "xvalue://dedalus.eu/CodeSystem/organization-type",
        "mustSupport": true
      },
      {
        "id": "Organization.type.coding.code",
        "path": "Organization.type.coding.code",
        "requirements": "Code of the organization type.",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Organization.type.coding.display",
        "requirements": "Description of the organization type.",
        "mustSupport": true
      },
      {
        "id": "Organization.name",
        "path": "Organization.name",
        "requirements": "Description of the Organization related to the Audit Event",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.partOf",
        "path": "Organization.partOf",
        "requirements": "Reference to a higher level Organization:\r\n - for hospitals, it might be parent health organization\r\n - for wards, it might be the parent hospital\r\n\r\nThe referenced parent Organization must be a contained resource.",
        "mustSupport": true
      }
    ]
  }
}