{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-11-06T18:38:26.261+00:00"
  },
  "url": "http://example.org/fhir/StructureDefinition/FormularyList",
  "name": "FormularyList",
  "status": "draft",
  "date": "2018-11-06T18:38:26.0971276+00:00",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Composition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Composition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Composition.status",
        "path": "Composition.status",
        "fixedCode": "final"
      },
      {
        "id": "Composition.type.coding.system",
        "path": "Composition.type.coding.system",
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Composition.type.coding.code",
        "path": "Composition.type.coding.code",
        "fixedCode": "TODO"
      },
      {
        "id": "Composition.subject",
        "path": "Composition.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
          }
        ]
      },
      {
        "id": "Composition.date",
        "path": "Composition.date",
        "short": "Date Last Modified",
        "definition": "The date and time when the formulary list was last modified by the author."
      },
      {
        "id": "Composition.author",
        "path": "Composition.author",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
          }
        ]
      },
      {
        "id": "Composition.section",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
            "valueString": "Section"
          }
        ],
        "path": "Composition.section",
        "min": 1
      },
      {
        "id": "Composition.section.id",
        "path": "Composition.section.id",
        "min": 1
      },
      {
        "id": "Composition.section.extension",
        "path": "Composition.section.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Composition.section.extension:EffectiveFrom",
        "path": "Composition.section.extension",
        "sliceName": "EffectiveFrom",
        "definition": "The date at which the formulary started to be relevant",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-EffectiveFrom"
          }
        ]
      },
      {
        "id": "Composition.section.extension:EffectiveTo",
        "path": "Composition.section.extension",
        "sliceName": "EffectiveTo",
        "definition": "The date at which the formulary ceased to be relevant. Leave null if formulary is current",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-EffectiveTo"
          }
        ]
      },
      {
        "id": "Composition.section.extension:PlanYear",
        "path": "Composition.section.extension",
        "sliceName": "PlanYear",
        "definition": "The year for which the formulary is relevant",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-PlanYear"
          }
        ]
      },
      {
        "id": "Composition.section.extension:HealthPlan",
        "path": "Composition.section.extension",
        "sliceName": "HealthPlan",
        "definition": "The health plan for which the formulary is relevant",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://example.org/fhir/StructureDefinition/Formulary-HealthPlan"
          }
        ]
      },
      {
        "id": "Composition.section.code",
        "path": "Composition.section.code",
        "min": 1
      },
      {
        "id": "Composition.section.code.coding",
        "path": "Composition.section.code.coding",
        "definition": "LOINC 82215-5 | Medical equipment or product list",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Composition.section.code.coding.system",
        "path": "Composition.section.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Composition.section.code.coding.code",
        "path": "Composition.section.code.coding.code",
        "min": 1,
        "fixedCode": "82215-5"
      },
      {
        "id": "Composition.section.entry",
        "path": "Composition.section.entry",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "profile": "FormularyMedication",
            "targetProfile": "http://example.org/fhir/StructureDefinition/FormularyMedication"
          }
        ]
      }
    ]
  }
}