{
  "resourceType": "StructureDefinition",
  "id": "cqllibrary",
  "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": "cds"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use"
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/cqllibrary",
  "version": "4.0.0",
  "name": "CQL Library",
  "status": "draft",
  "experimental": false,
  "date": "2018-12-27T11:37:54+00:00",
  "publisher": "HL7",
  "description": "Represents a CQL logic library",
  "fhirVersion": "4.0.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/Library",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Library",
        "path": "Library",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Library.type",
        "path": "Library.type",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/library-type",
              "code": "logic-library",
              "display": "Logic Library"
            }
          ]
        }
      },
      {
        "id": "Library.parameter",
        "path": "Library.parameter",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "ParameterDefinition"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Library.dataRequirement",
        "path": "Library.dataRequirement",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "DataRequirement"
          }
        ],
        "mustSupport": true
      }
    ]
  }
}