"url":
"identifier": [
{
"use": "official",
"value": "ChalmydiaScreening_Common"
}
]
"version": "2.0.0"
"name":
"title": "Chlamydia Screening Common Library"
"subtitle":
"status": "draft"
"experimental":
"type": {
"coding": [
{
"code": "logic-library"
}
]
}
"subject[x]":
"date": "2015-07-22"
"publisher":
"contact":
"description": "Common Logic for adherence to Chlamydia Screening guidelines"
"useContext":
"jurisdiction":
"purpose":
"usage":
"copyright":
"approvalDate":
"lastReviewDate":
"effectivePeriod":
"topic": [
{
"text": "Chlamydia Screening"
}
]
"author":
"editor":
"reviewer":
"endorser":
"relatedArtifact": [
{
"type": "depends-on",
"resource": "Library/library-quick-model-definition"
}
]
"parameter":
"dataRequirement": [
{
"type": "Condition",
"codeFilter": [
{
"path": "code",
"valueSet": "urn:oid:2.16.840.1.113883.3.464.1003.111.12.1006"
}
]
}
]
"content": [
{
"contentType": "text/cql",
"url": "library-example-content.cql"
}
]
{
"resourceType": "Library",
"id": "example",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Id: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-left: 25px; padding-right: 25px;\">Library/example</td>\n </tr>\n </table>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Identifier: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-left: 25px; padding-right: 25px;\">\n <b>value: </b>\n <span>ChalmydiaScreening_Common</span>\n </td>\n </tr>\n </table>\n <p/>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Version: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-left: 25px; padding-right: 25px;\">2.0.0</td>\n </tr>\n </table>\n <p/>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Title: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-left: 25px; padding-right: 25px;\">Chlamydia Screening Common Library</td>\n </tr>\n </table>\n <p/>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Type: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-right: 25px;\">\n <span>\n <span>\n <span style=\"padding-left: 25px;\">\n <b>code: </b>\n <span>logic-library</span>\n </span>\n </span>\n </span>\n </td>\n </tr>\n </table>\n <p/>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Status: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-left: 25px; padding-right: 25px;\">draft</td>\n </tr>\n </table>\n <p/>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Description: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-left: 25px; padding-right: 25px;\">Common Logic for adherence to Chlamydia Screening guidelines</td>\n </tr>\n </table>\n <p/>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Topic: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-right: 25px;\">\n <span style=\"padding-left: 25px;\">\n <b>text: </b>\n <span>Chlamydia Screening</span>\n </span>\n </td>\n </tr>\n </table>\n <p/>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Related: </b>\n </td>\n </tr>\n <tr style=\"vertical-align: top;\">\n <td style=\"padding-left: 25px; padding-right: 25px;\">\n <p style=\"margin-bottom: 5px;\">\n <b>type: </b>\n <span>depends-on</span>\n </p>\n <p style=\"margin-bottom: 5px;\">\n <b>Resource: </b>\n <br/>\n <span>\n <span style=\"padding-left: 25px;\">\n <b>reference: </b>\n <span>Library/library-quick-model-definition</span>\n </span>\n </span>\n </p>\n </td>\n </tr>\n </table>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Data Requirements: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-left: 25px; padding-right: 25px;\">\n <div>\n <p style=\"margin-bottom: 5px;\">\n <b>type: </b>\n <span>Condition</span>\n </p>\n <p style=\"margin-bottom: 5px;\">\n <b>code filter:</b>\n <br/>\n <span style=\"padding-left: 25px;\">\n <b>path: </b>\n <span>code</span>\n </span>\n <br/>\n <span style=\"padding-left: 25px;\">\n <b>valueset: </b>\n <span>Other Female Reproductive Conditions</span>\n </span>\n </p>\n </div>\n </td>\n </tr>\n </table>\n <table class=\"grid dict\">\n <tr>\n <td>\n <b>Content: </b>\n </td>\n </tr>\n <tr>\n <td style=\"padding-left: 25px; padding-right: 25px;\">\n <p style=\"margin-bottom: 5px;\">\n <b>type: </b>\n <span>text/cql</span>\n </p>\n <p style=\"margin-bottom: 5px;\">\n <b>url: </b>\n <span>library-example-content.cql</span>\n </p>\n </td>\n </tr>\n </table>\n </div>"
},
"identifier": [
{
"use": "official",
"value": "ChalmydiaScreening_Common"
}
],
"version": "2.0.0",
"title": "Chlamydia Screening Common Library",
"status": "draft",
"type": {
"coding": [
{
"code": "logic-library"
}
]
},
"date": "2015-07-22",
"description": "Common Logic for adherence to Chlamydia Screening guidelines",
"topic": [
{
"text": "Chlamydia Screening"
}
],
"relatedArtifact": [
{
"type": "depends-on",
"resource": "Library/library-quick-model-definition"
}
],
"dataRequirement": [
{
"type": "Condition",
"codeFilter": [
{
"path": "code",
"valueSet": "urn:oid:2.16.840.1.113883.3.464.1003.111.12.1006"
}
]
}
],
"content": [
{
"contentType": "text/cql",
"url": "library-example-content.cql"
}
]
}
{
"resourceType" : "Library",
// from Resource: id, meta, implicitRules, and language
// from DomainResource: text, contained, extension, and modifierExtension
"url" : "<uri>", // Canonical identifier for this library, represented as a URI (globally unique)
"identifier" : [{ Identifier }], // Additional identifier for the library
"version" : "<string>", // Business version of the library
"name" : "<string>", // C? Name for this library (computer friendly)
"title" : "<string>", // Name for this library (human friendly)
"subtitle" : "<string>", // Subordinate title of the library
"status" : "<code>", // R! draft | active | retired | unknown
"experimental" : <boolean>, // For testing purposes, not real usage
"type" : { CodeableConcept }, // R! logic-library | model-definition | asset-collection | module-definition
// subject[x]: Type of individual the library content is focused on. One of these 2:
"subjectCodeableConcept" : { CodeableConcept },
"subjectReference" : { Reference(Group) },
"date" : "<dateTime>", // Date last changed
"publisher" : "<string>", // Name of the publisher (organization or individual)
"contact" : [{ ContactDetail }], // Contact details for the publisher
"description" : "<markdown>", // Natural language description of the library
"useContext" : [{ UsageContext }], // The context that the content is intended to support
"jurisdiction" : [{ CodeableConcept }], // Intended jurisdiction for library (if applicable)
"purpose" : "<markdown>", // Why this library is defined
"usage" : "<string>", // Describes the clinical usage of the library
"copyright" : "<markdown>", // Use and/or publishing restrictions
"approvalDate" : "<date>", // When the library was approved by publisher
"lastReviewDate" : "<date>", // When the library was last reviewed
"effectivePeriod" : { Period }, // When the library is expected to be used
"topic" : [{ CodeableConcept }], // E.g. Education, Treatment, Assessment, etc.
"author" : [{ ContactDetail }], // Who authored the content
"editor" : [{ ContactDetail }], // Who edited the content
"reviewer" : [{ ContactDetail }], // Who reviewed the content
"endorser" : [{ ContactDetail }], // Who endorsed the content
"relatedArtifact" : [{ RelatedArtifact }], // Additional documentation, citations, etc.
"parameter" : [{ ParameterDefinition }], // Parameters defined by the library
"dataRequirement" : [{ DataRequirement }], // What data is referenced by this library
"content" : [{ Attachment }] // Contents of the library, either embedded or referenced
}
The following search parameters can be used to query Library resources. Just submit them like so:
https://api.1up.health/fhir/r4/Library?query-param=queryvalue
Search Parameter | Field Type | Resource Fields Searched |
---|---|---|
composed-of | reference | relatedArtifact.where |
content-type | text | content.contentType |
context | text | useContext.value |
context-quantity | quantity | useContext.value |
context-type | text | useContext.code |
context-type-quantity | composite | useContext |
context-type-value | composite | useContext |
date | date | date |
depends-on | reference | relatedArtifact.where |
derived-from | reference | relatedArtifact.where |
description | text | description |
effective | date | effectivePeriod |
identifier | text | identifier |
jurisdiction | text | jurisdiction |
name | text | name |
predecessor | reference | relatedArtifact.where |
publisher | text | publisher |
status | text | status |
successor | reference | relatedArtifact.where |
title | text | title |
topic | text | topic |
type | text | type |
url | uri | url |
version | text | version |