R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example Library/library-exclusive-breastfeeding-cds-logic (JSON)

Clinical Decision Support Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw JSON (canonical form + also see JSON Format Specification)

Exclusive Breastfeeding Intervention Logic

{
  "resourceType" : "Library",
  "id" : "library-exclusive-breastfeeding-cds-logic",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Id: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">Library/library-exclusive-breastfeeding-cds-logic</td>\n            \n        </tr>\n         \n      </table>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Identifier: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  \n            <b>value: </b>\n                  \n            <span>Exclusive_Breastfeeding_CDS_Logic</span>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n         \n      <p/>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Version: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">1.0.0</td>\n            \n        </tr>\n         \n      </table>\n         \n      <p/>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Title: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">Exclusive Breastfeeding CDS Logic</td>\n            \n        </tr>\n         \n      </table>\n         \n      <p/>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Type: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-right: 25px;\">\n                  \n            <span>\n                     \n              <span>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>code: </b>\n                           \n                  <span>logic-library</span>\n                        \n                </span>\n                     \n              </span>\n                  \n            </span>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n         \n      <p/>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Status: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">active</td>\n            \n        </tr>\n         \n      </table>\n         \n      <p/>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Description: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">Decision support logic for improving outcomes for exclusive breastmilk feeding of newborns</td>\n            \n        </tr>\n         \n      </table>\n         \n      <p/>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Topic: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-right: 25px;\">\n                  \n            <span style=\"padding-left: 25px;\">\n                     \n              <b>text: </b>\n                     \n              <span>Exclusive Breastfeeding</span>\n                  \n            </span>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n         \n      <p/>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Related: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr style=\"vertical-align: top;\">\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  \n            <p style=\"margin-bottom: 5px;\">\n                     \n              <b>type: </b>\n                     \n              <span>depends-on</span>\n                  \n            </p>\n                  \n            <p style=\"margin-bottom: 5px;\">\n                     \n              <b>Resource: </b>\n                     \n              <br/>\n                     \n              <span>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>reference: </b>\n                           \n                  <span>Library/library-quick-model-definition</span>\n                        \n                </span>\n                     \n              </span>\n                  \n            </p>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Data Requirements: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  \n            <div>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>type: </b>\n                        \n                <span>Condition</span>\n                     \n              </p>\n                     \n              <p style=\"margin-bottom: 5px;\">\n                        \n                <b>code filter:</b>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>path: </b>\n                           \n                  <span>code</span>\n                        \n                </span>\n                        \n                <br/>\n                        \n                <span style=\"padding-left: 25px;\">\n                           \n                  <b>valueset: </b>\n                           \n                  <span>Single Live Birth</span>\n                        \n                </span>\n                     \n              </p>\n                  \n            </div>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n         \n      <table class=\"grid dict\">\n            \n        <tr>\n               \n          <td>\n                  \n            <b>Content: </b>\n               \n          </td>\n            \n        </tr>\n            \n        <tr>\n               \n          <td style=\"padding-left: 25px; padding-right: 25px;\">\n                  \n            <p style=\"margin-bottom: 5px;\">\n                     \n              <b>type: </b>\n                     \n              <span>text/cql</span>\n                  \n            </p>\n                  \n            <p style=\"margin-bottom: 5px;\">\n                     \n              <b>url: </b>\n                     \n              <span>http://cqlrepository.org/CMS9v4_CDS.cql</span>\n                  \n            </p>\n               \n          </td>\n            \n        </tr>\n         \n      </table>\n      \n    </div>"
  },
  "identifier" : [{
    "use" : "official",
    "value" : "Exclusive_Breastfeeding_CDS_Logic"
  }],
  "version" : "1.0.0",
  "name" : "ExclusiveBreastfeedingCDSLogic",
  "title" : "Exclusive Breastfeeding CDS Logic",
  "status" : "active",
  "experimental" : true,
  "type" : {
    "coding" : [{
      "code" : "logic-library"
    }]
  },
  "date" : "2016-03-08",
  "description" : "Decision support logic for improving outcomes for exclusive breastmilk feeding of newborns",
  "topic" : [{
    "text" : "Exclusive Breastfeeding"
  }],
  "relatedArtifact" : [{
    "type" : "depends-on",
    "resource" : "http://example.org/fhir/Library/library-quick-model-definition"
  },
  {
    "type" : "derived-from",
    "resource" : "http://example.org/fhir/Measure/measure-exclusive-breastfeeding"
  }],
  "dataRequirement" : [{
    "type" : "Condition",
    "codeFilter" : [{
      "path" : "code",
      "valueSet" : "urn:oid:2.16.840.1.113883.3.117.1.7.1.25"
    }]
  }],
  "content" : [{
    "contentType" : "text/cql",
    "url" : "http://cqlrepository.org/CMS9v4_CDS.cql"
  }]
}

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.