{
  "resourceType": "StructureDefinition",
  "url": "http://example.org/fhir/StructureDefinition/Composition",
  "name": "Composition",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "cda",
      "uri": "http://hl7.org/v3/cda",
      "name": "CDA (R2)"
    },
    {
      "identity": "fhirdocumentreference",
      "uri": "http://hl7.org/fhir/documentreference",
      "name": "FHIR DocumentReference"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Composition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Composition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Composition.category",
        "path": "Composition.category",
        "max": "0"
      },
      {
        "id": "Composition.subject",
        "path": "Composition.subject",
        "min": 1
      },
      {
        "id": "Composition.encounter",
        "path": "Composition.encounter",
        "min": 1
      },
      {
        "id": "Composition.author.type",
        "path": "Composition.author.type",
        "max": "0"
      },
      {
        "id": "Composition.author.identifier",
        "path": "Composition.author.identifier",
        "max": "0"
      },
      {
        "id": "Composition.confidentiality",
        "path": "Composition.confidentiality",
        "max": "0"
      },
      {
        "id": "Composition.attester",
        "path": "Composition.attester",
        "max": "0"
      },
      {
        "id": "Composition.custodian",
        "path": "Composition.custodian",
        "max": "0"
      },
      {
        "id": "Composition.relatesTo",
        "path": "Composition.relatesTo",
        "max": "0"
      },
      {
        "id": "Composition.event",
        "path": "Composition.event",
        "max": "0"
      },
      {
        "id": "Composition.section.code",
        "path": "Composition.section.code",
        "max": "0"
      },
      {
        "id": "Composition.section.author",
        "path": "Composition.section.author",
        "max": "0"
      },
      {
        "id": "Composition.section.focus",
        "path": "Composition.section.focus",
        "max": "0"
      },
      {
        "id": "Composition.section.text",
        "path": "Composition.section.text",
        "max": "0"
      },
      {
        "id": "Composition.section.mode",
        "path": "Composition.section.mode",
        "max": "0"
      },
      {
        "id": "Composition.section.orderedBy",
        "path": "Composition.section.orderedBy",
        "max": "0"
      },
      {
        "id": "Composition.section.entry.type",
        "path": "Composition.section.entry.type",
        "max": "0"
      },
      {
        "id": "Composition.section.entry.identifier",
        "path": "Composition.section.entry.identifier",
        "max": "0"
      },
      {
        "id": "Composition.section.entry.display",
        "path": "Composition.section.entry.display",
        "max": "0"
      },
      {
        "id": "Composition.section.emptyReason",
        "path": "Composition.section.emptyReason",
        "max": "0"
      },
      {
        "id": "Composition.section.section",
        "path": "Composition.section.section",
        "max": "0"
      }
    ]
  }
}