This page is part of the FHIR Specification (v1.2.0: STU 3 Draft). 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 of library
{ "resourceType": "Library", "id": "example", "text": { "status": "generated", "div": "<div>Chlamydia Screening Common Library</div>" }, "contained": [ { "resourceType": "ModuleMetadata", "id": "example-library-metadata", "identifier": [ { "use": "official", "value": "ChalmydiaScreening_Common" } ], "version": "2.0.0", "title": "Chlamydia Screening Common Library", "type": "library", "status": "draft", "description": "Common Logic for adherence to Chlamydia Screening guidelines", "publicationDate": "2015-07-22", "topic": [ { "text": "Chlamydia Screening" } ], "keyword": [ "Chlamydia Screening" ] }, { "resourceType": "ModuleDefinition", "id": "example-library-definition", "identifier": [ { "use": "official", "value": "ChalmydiaScreening_Common" } ], "version": "2.0.0", "model": [ { "identifier": "QUICK" } ], "valueSet": [ { "name": "Female Administrative Sex", "identifier": "2.16.840.1.113883.3.560.100.2" } ], "data": [ { "fhir_comments": [ " ... other value sets as defined in the library " ], "type": "Condition", "codeFilter": [ { "path": "code", "valueSetString": "Other Female Reproductive Conditions" } ] } ] } ], "identifier": [ { "use": "official", "value": "ChalmydiaScreening_Common" } ], "version": "2.0.0", "moduleMetadata": { "reference": "#example-library-metadata" }, "moduleDefinition": { "reference": "#example-library-definition" }, "document": { "contentType": "application/x-cql+text", "url": "http://cqlrepository.org/ChlamydiaScreening_Common.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.