{
  "resourceType": "StructureDefinition",
  "id": "catalog",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">to do</div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 2
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "sd"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use"
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/catalog",
  "version": "4.0.0",
  "name": "Profile for Catalog",
  "status": "draft",
  "experimental": false,
  "date": "2014-01-31",
  "publisher": "Health Level Seven, Inc. - Clinical Quality Information WG",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/cqi/index.cfm"
        }
      ]
    }
  ],
  "description": "A set of resources composed into a single coherent clinical statement with clinical attestation",
  "fhirVersion": "4.0.0",
  "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",
        "path": "Composition",
        "short": "A set of resources composed into a single coherent clinical statement with clinical attestation",
        "definition": "A set of healthcare-related information that is assembled together into a single logical document that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. While a Composition defines the structure, it does not actually contain the content: rather the full content of a document is contained in a Bundle, of which the Composition is the first resource contained.",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Composition.extension:ValidityPeriod",
        "path": "Composition.extension",
        "sliceName": "ValidityPeriod",
        "short": "The validity of the catalog",
        "definition": "The validity of the catalog.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod"
            ]
          }
        ]
      },
      {
        "id": "Composition.type",
        "path": "Composition.type",
        "short": "The type of document - a Catalog",
        "definition": "The type of document - a Catalog.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "fixedCodeableConcept": {
          "text": "Catalog"
        }
      },
      {
        "id": "Composition.category",
        "path": "Composition.category",
        "short": "The Content of the section",
        "definition": "The content (narrative and data) associated with the section.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "CatalogType"
            }
          ],
          "strength": "example",
          "description": "The type of catalog.",
          "valueSet": "http://hl7.org/fhir/ValueSet/catalogType"
        }
      },
      {
        "id": "Composition.subject",
        "path": "Composition.subject",
        "short": "Who and/or what the composition is about",
        "definition": "Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure).",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Resource"
            ]
          }
        ]
      },
      {
        "id": "Composition.date:IssueDate",
        "path": "Composition.date",
        "sliceName": "IssueDate",
        "short": "When the Catalog was created",
        "definition": "When the Catalog was created.",
        "alias": [
          "IssueDate"
        ],
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Composition.section",
        "path": "Composition.section",
        "min": 0,
        "max": "*"
      },
      {
        "id": "Composition.section.entry",
        "path": "Composition.section.entry",
        "short": "The Content of the section",
        "definition": "The content (narrative and data) associated with the section.",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/CatalogEntry"
            ]
          }
        ]
      }
    ]
  }
}