{
  "resourceType": "StructureDefinition",
  "id": "publishablelibrary",
  "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": 3
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "cds"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use"
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/publishablelibrary",
  "version": "4.6.0",
  "name": "PublishableLibrary",
  "title": "Publishable Library",
  "status": "draft",
  "experimental": false,
  "date": "2020-12-28T05:55:11+00:00",
  "publisher": "HL7",
  "description": "Supports declaration of the library metadata required by HL7 and other organizations that share and publish libraries with a focus on the aspects of that metadata that are important for post-publication activities including distribution, inclusion in repositories, consumption, and implementation.",
  "fhirVersion": "4.6.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "objimpl",
      "uri": "http://hl7.org/fhir/object-implementation",
      "name": "Object Implementation Information"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Library",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/shareablelibrary",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Library",
        "path": "Library",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Library.extension:logicDefinition",
        "path": "Library.extension",
        "sliceName": "logicDefinition",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Library.title",
        "path": "Library.title",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Library.type",
        "path": "Library.type",
        "min": 1,
        "max": "1",
        "mustSupport": false
      },
      {
        "id": "Library.date",
        "path": "Library.date",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Library.purpose",
        "path": "Library.purpose",
        "mustSupport": false
      },
      {
        "id": "Library.usage",
        "path": "Library.usage",
        "mustSupport": false
      },
      {
        "id": "Library.copyright",
        "path": "Library.copyright",
        "mustSupport": true
      },
      {
        "id": "Library.approvalDate",
        "path": "Library.approvalDate",
        "mustSupport": true
      },
      {
        "id": "Library.lastReviewDate",
        "path": "Library.lastReviewDate",
        "mustSupport": true
      },
      {
        "id": "Library.effectivePeriod",
        "path": "Library.effectivePeriod",
        "mustSupport": true
      },
      {
        "id": "Library.topic",
        "path": "Library.topic",
        "mustSupport": false,
        "binding": {
          "strength": "preferred",
          "description": "Topics for categorization and searching of artifacts",
          "valueSet": "http://hl7.org/fhir/ValueSet/definition-topic"
        }
      },
      {
        "id": "Library.author",
        "path": "Library.author",
        "mustSupport": false
      },
      {
        "id": "Library.editor",
        "path": "Library.editor",
        "mustSupport": false
      },
      {
        "id": "Library.reviewer",
        "path": "Library.reviewer",
        "mustSupport": false
      },
      {
        "id": "Library.endorser",
        "path": "Library.endorser",
        "mustSupport": false
      },
      {
        "id": "Library.relatedArtifact",
        "path": "Library.relatedArtifact",
        "mustSupport": true
      },
      {
        "id": "Library.relatedArtifact.display",
        "path": "Library.relatedArtifact.display",
        "mustSupport": true
      },
      {
        "id": "Library.relatedArtifact.document",
        "path": "Library.relatedArtifact.document",
        "mustSupport": true
      },
      {
        "id": "Library.relatedArtifact.resource",
        "path": "Library.relatedArtifact.resource",
        "mustSupport": true
      },
      {
        "id": "Library.relatedArtifact.resourceReference",
        "path": "Library.relatedArtifact.resourceReference",
        "mustSupport": true
      }
    ]
  }
}