DSTU2 QA Preview

This page is part of the FHIR Specification (v1.0.0: DSTU 2 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Cqif\knowledgemodule-library-example.json

Raw JSON (canonical form)

KnowledgeModule used to expose a CQL library as a knowledge module

{
  "resourceType": "Basic",
  "id": "knowledgemodule-library-example",
  "_id": {
    "fhir_comments": [
      "  This example demonstrates the KnowledgeModule structure used to represent a CQL Library  "
    ]
  },
  "meta": {
    "profile": [
      "http://hl7.org/fhir/StructureDefinition/cqif-knowledgemodule"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div>ChlamydiaScreening_Common</div>"
  },
  "extension": [
    {
      "fhir_comments": [
        "  Version  "
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-moduleVersion",
      "valueString": "2.0.0"
    },
    {
      "fhir_comments": [
        "  Title  "
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-title",
      "valueCode": "Chlamydia Screening Common Library"
    },
    {
      "fhir_comments": [
        "  Description  "
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-description",
      "valueString": "Common Logic for adherence to Chlamydia Screening guidelines"
    },
    {
      "fhir_comments": [
        "  PublicationDate  "
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-publicationDate",
      "valueDate": "2015-07-22"
    },
    {
      "fhir_comments": [
        "  Topic  "
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-topic",
      "valueCodeableConcept": {
        "text": "Chlamydia Screening"
      }
    },
    {
      "fhir_comments": [
        "  Keyword  "
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-keyword",
      "valueString": "Chlamydia Screening"
    },
    {
      "fhir_comments": [
        "  Model  "
      ],
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-model#name",
          "valueString": "QUICK"
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-model"
    },
    {
      "fhir_comments": [
        "  ValueSet  "
      ],
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-valueSet#name",
          "valueString": "Female Administrative Sex"
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-valueSet#id",
          "valueString": "2.16.840.1.113883.3.560.100.2"
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-valueSet"
    },
    {
      "fhir_comments": [
        "  ... other value sets as defined in the library  ",
        "  Data  "
      ],
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-data#type",
          "valueCode": "Condition"
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-data#codeFilter.path",
              "valueString": "code"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-data#codeFilter.valueSet",
              "valueString": "Other Female Reproductive Conditions"
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-data#codeFilter"
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-data"
    },
    {
      "fhir_comments": [
        "  ... other data requirements as defined in the library  ",
        "  Content  "
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-content",
      "valueAttachment": {
        "contentType": "application/x-cql+text",
        "url": "http://cqlrepository.org/ChlamydiaScreening_Common.cql"
      }
    }
  ],
  "modifierExtension": [
    {
      "fhir_comments": [
        "  Status  "
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-moduleStatus",
      "valueCode": "draft"
    },
    {
      "fhir_comments": [
        "  Evaluation Supported  "
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/cqif-basic-evaluationSupported",
      "valueBoolean": false
    }
  ],
  "identifier": [
    {
      "fhir_comments": [
        "  Identifier  "
      ],
      "use": "official",
      "value": "ChalmydiaScreening_Common"
    }
  ],
  "code": {
    "fhir_comments": [
      "  Code  "
    ],
    "coding": [
      {
        "code": "library"
      }
    ]
  }
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.