Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - 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

Example Library/opioidcds-recommendation-11 (Turtle)

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

Raw Turtle (+ also see Turtle/RDF Format Specification)

Opioid CDS Recommendation 11 Logic

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

[a fhir:Library;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "opioidcds-recommendation-11"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <h2>Participants</h2>\n      <table class=\"grid\">\n        <tr>\n          <td>Author</td>\n          <td>Kensaku Kawamoto, MD, PhD, MHS</td>\n        </tr>\n        <tr>\n          <td>Author</td>\n          <td>Bryn Rhodes</td>\n        </tr>\n        <tr>\n          <td>Author</td>\n          <td>Floyd Eisenberg, MD, MPH</td>\n        </tr>\n        <tr>\n          <td>Author</td>\n          <td>Robert McClure, MD, MPH</td>\n        </tr>\n      </table>\n      <h2>Related Artifacts</h2>\n      <table class=\"grid\">\n        <tr>\n          <td>Documentation</td>\n          <td>CDC guideline for prescribing opioids for chronic pain</td>\n          <td>\n            <p>\n              <code>\n                <a href=\"https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pain---united-states-2016#420\">https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pain---united-states-2016#420</a>\n              </code> (\n              <code/>)\n            </p>\n          </td>\n        </tr>\n        <tr>\n          <td>Depends On</td>\n          <td/>\n          <td>\n            <code>http://example.org/fhir/Library/opioidcds-common</code>\n          </td>\n        </tr>\n      </table>\n      <h2>Data Requirements</h2>\n      <table class=\"grid\">\n        <tr>\n          <td colspan=\"2\">\n            <b>Type</b>: \n            <a href=\"medicationrequest.html\">MedicationRequest</a>\n          </td>\n        </tr>\n        <tr style=\"background-color: #efefef\">\n          <td>Filter</td>\n          <td>Value</td>\n        </tr>\n        <tr>\n          <td>medicationCodeableConcept</td>\n          <td>In ValueSet \n            <a href=\"http://example.org/fhir/ValueSet/benzodiazepines\">http://example.org/fhir/ValueSet/benzodiazepines</a>\n          </td>\n        </tr>\n      </table>\n      <table class=\"grid\">\n        <tr>\n          <td colspan=\"2\">\n            <b>Type</b>: \n            <a href=\"medicationrequest.html\">MedicationRequest</a>\n          </td>\n        </tr>\n        <tr style=\"background-color: #efefef\">\n          <td>Filter</td>\n          <td>Value</td>\n        </tr>\n        <tr>\n          <td>medicationCodeableConcept</td>\n          <td>In ValueSet \n            <a href=\"http://example.org/fhir/ValueSet/opioids-abused-in-ambulatory-care\">http://example.org/fhir/ValueSet/opioids-abused-in-ambulatory-care</a>\n          </td>\n        </tr>\n      </table>\n      <h2>Contents</h2>\n      <p>\n        <code>application/elm+xml</code>\n      </p>\n      <pre>\n        <code class=\"language-xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\n&lt;library xmlns=&quot;urn:hl7-org:elm:r1&quot; xmlns:t=&quot;urn:hl7-org:elm-types:r1&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:fhir=&quot;http://hl7.org/fhir&quot; xmlns:qdm43=&quot;urn:healthit-gov:qdm:v4_3&quot; xmlns:qdm53=&quot;urn:healthit-gov:qdm:v5_3&quot; xmlns:a=&quot;urn:hl7-org:cql-annotations:r1&quot;&gt;\n   &lt;annotation startLine=&quot;54&quot; startChar=&quot;13&quot; endLine=&quot;54&quot; endChar=&quot;57&quot; message=&quot;Could not resolve code path medicationCodeableConcept for the type of the retrieve FHIR.MedicationRequest.&quot; errorType=&quot;semantic&quot; errorSeverity=&quot;warning&quot; xsi:type=&quot;a:CqlToElmError&quot;/&gt;\n   &lt;annotation startLine=&quot;54&quot; startChar=&quot;13&quot; endLine=&quot;54&quot; endChar=&quot;57&quot; message=&quot;Could not resolve membership operator for terminology target of the retrieve.&quot; errorType=&quot;semantic&quot; errorSeverity=&quot;warning&quot; xsi:type=&quot;a:CqlToElmError&quot;/&gt;\n   &lt;annotation startLine=&quot;58&quot; startChar=&quot;14&quot; endLine=&quot;58&quot; endChar=&quot;77&quot; message=&quot;Could not resolve code path medicationCodeableConcept for the type of the retrieve FHIR.MedicationRequest.&quot; errorType=&quot;semantic&quot; errorSeverity=&quot;warning&quot; xsi:type=&quot;a:CqlToElmError&quot;/&gt;\n   &lt;annotation startLine=&quot;58&quot; startChar=&quot;14&quot; endLine=&quot;58&quot; endChar=&quot;77&quot; message=&quot;Could not resolve membership operator for terminology target of the retrieve.&quot; errorType=&quot;semantic&quot; errorSeverity=&quot;warning&quot; xsi:type=&quot;a:CqlToElmError&quot;/&gt;\n   &lt;identifier id=&quot;OpioidCDS_STU4_REC_11&quot; version=&quot;0.1.0&quot;/&gt;\n   &lt;schemaIdentifier id=&quot;urn:hl7-org:elm&quot; version=&quot;r1&quot;/&gt;\n   &lt;usings&gt;\n      &lt;def localIdentifier=&quot;System&quot; uri=&quot;urn:hl7-org:elm-types:r1&quot;/&gt;\n      &lt;def localIdentifier=&quot;FHIR&quot; uri=&quot;http://hl7.org/fhir&quot; version=&quot;3.2.0&quot;/&gt;\n   &lt;/usings&gt;\n   &lt;includes&gt;\n      &lt;def localIdentifier=&quot;Common&quot; path=&quot;OpioidCDS_STU4_Common&quot; version=&quot;0.1.0&quot;/&gt;\n   &lt;/includes&gt;\n   &lt;parameters&gt;\n      &lt;def name=&quot;ContextPrescriptions&quot; accessLevel=&quot;Public&quot;&gt;\n         &lt;parameterTypeSpecifier xsi:type=&quot;ListTypeSpecifier&quot;&gt;\n            &lt;elementType name=&quot;fhir:MedicationRequest&quot; xsi:type=&quot;NamedTypeSpecifier&quot;/&gt;\n         &lt;/parameterTypeSpecifier&gt;\n      &lt;/def&gt;\n   &lt;/parameters&gt;\n   &lt;statements&gt;\n      &lt;def name=&quot;Patient&quot; context=&quot;Patient&quot;&gt;\n         &lt;expression xsi:type=&quot;SingletonFrom&quot;&gt;\n            &lt;operand dataType=&quot;fhir:Patient&quot; xsi:type=&quot;Retrieve&quot;/&gt;\n         &lt;/expression&gt;\n      &lt;/def&gt;\n      &lt;def name=&quot;Validate Trigger Event For Benzodiazepine&quot; context=&quot;Patient&quot; accessLevel=&quot;Public&quot;&gt;\n         &lt;expression xsi:type=&quot;Exists&quot;&gt;\n            &lt;operand xsi:type=&quot;Query&quot;&gt;\n               &lt;source alias=&quot;triggerScript&quot;&gt;\n                  &lt;expression name=&quot;ContextPrescriptions&quot; xsi:type=&quot;ParameterRef&quot;/&gt;\n               &lt;/source&gt;\n               &lt;where name=&quot;IsBenzodiazepine&quot; libraryName=&quot;Common&quot; xsi:type=&quot;FunctionRef&quot;&gt;\n                  &lt;operand name=&quot;ToCode&quot; libraryName=&quot;Common&quot; xsi:type=&quot;FunctionRef&quot;&gt;\n                     &lt;operand xsi:type=&quot;Indexer&quot;&gt;\n                        &lt;operand path=&quot;coding&quot; xsi:type=&quot;Property&quot;&gt;\n                           &lt;source path=&quot;medication&quot; scope=&quot;triggerScript&quot; xsi:type=&quot;Property&quot;/&gt;\n                        &lt;/operand&gt;\n                        &lt;operand valueType=&quot;t:Integer&quot; value=&quot;0&quot; xsi:type=&quot;Literal&quot;/&gt;\n                     &lt;/operand&gt;\n                  &lt;/operand&gt;\n               &lt;/where&gt;\n            &lt;/operand&gt;\n         &lt;/expression&gt;\n      &lt;/def&gt;\n      &lt;def name=&quot;Validate Trigger Event For Ambulatory Care Abuse Potential&quot; context=&quot;Patient&quot; accessLevel=&quot;Public&quot;&gt;\n         &lt;expression xsi:type=&quot;Exists&quot;&gt;\n            &lt;operand xsi:type=&quot;Query&quot;&gt;\n               &lt;source alias=&quot;triggerScript&quot;&gt;\n                  &lt;expression name=&quot;ContextPrescriptions&quot; xsi:type=&quot;ParameterRef&quot;/&gt;\n               &lt;/source&gt;\n               &lt;where name=&quot;IsOpioidWithAmbulatoryAbusePotential&quot; libraryName=&quot;Common&quot; xsi:type=&quot;FunctionRef&quot;&gt;\n                  &lt;operand name=&quot;ToCode&quot; libraryName=&quot;Common&quot; xsi:type=&quot;FunctionRef&quot;&gt;\n                     &lt;operand xsi:type=&quot;Indexer&quot;&gt;\n                        &lt;operand path=&quot;coding&quot; xsi:type=&quot;Property&quot;&gt;\n                           &lt;source path=&quot;medication&quot; scope=&quot;triggerScript&quot; xsi:type=&quot;Property&quot;/&gt;\n                        &lt;/operand&gt;\n                        &lt;operand valueType=&quot;t:Integer&quot; value=&quot;0&quot; xsi:type=&quot;Literal&quot;/&gt;\n                     &lt;/operand&gt;\n                  &lt;/operand&gt;\n               &lt;/where&gt;\n            &lt;/operand&gt;\n         &lt;/expression&gt;\n      &lt;/def&gt;\n      &lt;def name=&quot;On Benzodiazepine&quot; context=&quot;Patient&quot; accessLevel=&quot;Public&quot;&gt;\n         &lt;expression xsi:type=&quot;Or&quot;&gt;\n            &lt;operand name=&quot;Validate Trigger Event For Benzodiazepine&quot; xsi:type=&quot;ExpressionRef&quot;/&gt;\n            &lt;operand xsi:type=&quot;Exists&quot;&gt;\n               &lt;operand dataType=&quot;fhir:MedicationRequest&quot; codeProperty=&quot;medicationCodeableConcept&quot; xsi:type=&quot;Retrieve&quot;&gt;\n                  &lt;codes name=&quot;Benzodiazepines&quot; libraryName=&quot;Common&quot; xsi:type=&quot;ValueSetRef&quot;/&gt;\n               &lt;/operand&gt;\n            &lt;/operand&gt;\n         &lt;/expression&gt;\n      &lt;/def&gt;\n      &lt;def name=&quot;Opioid with Ambulatory Care Abuse Potential&quot; context=&quot;Patient&quot; accessLevel=&quot;Public&quot;&gt;\n         &lt;expression xsi:type=&quot;Or&quot;&gt;\n            &lt;operand name=&quot;Validate Trigger Event For Ambulatory Care Abuse Potential&quot; xsi:type=&quot;ExpressionRef&quot;/&gt;\n            &lt;operand xsi:type=&quot;Exists&quot;&gt;\n               &lt;operand dataType=&quot;fhir:MedicationRequest&quot; codeProperty=&quot;medicationCodeableConcept&quot; xsi:type=&quot;Retrieve&quot;&gt;\n                  &lt;codes name=&quot;Ambulatory Abuse Potential Opioids&quot; libraryName=&quot;Common&quot; xsi:type=&quot;ValueSetRef&quot;/&gt;\n               &lt;/operand&gt;\n            &lt;/operand&gt;\n         &lt;/expression&gt;\n      &lt;/def&gt;\n      &lt;def name=&quot;Inclusion Criteria&quot; context=&quot;Patient&quot; accessLevel=&quot;Public&quot;&gt;\n         &lt;expression xsi:type=&quot;And&quot;&gt;\n            &lt;operand xsi:type=&quot;And&quot;&gt;\n               &lt;operand xsi:type=&quot;Or&quot;&gt;\n                  &lt;operand name=&quot;Validate Trigger Event For Benzodiazepine&quot; xsi:type=&quot;ExpressionRef&quot;/&gt;\n                  &lt;operand name=&quot;Validate Trigger Event For Ambulatory Care Abuse Potential&quot; xsi:type=&quot;ExpressionRef&quot;/&gt;\n               &lt;/operand&gt;\n               &lt;operand name=&quot;On Benzodiazepine&quot; xsi:type=&quot;ExpressionRef&quot;/&gt;\n            &lt;/operand&gt;\n            &lt;operand name=&quot;Opioid with Ambulatory Care Abuse Potential&quot; xsi:type=&quot;ExpressionRef&quot;/&gt;\n         &lt;/expression&gt;\n      &lt;/def&gt;\n      &lt;def name=&quot;Get Indicator&quot; context=&quot;Patient&quot; accessLevel=&quot;Public&quot;&gt;\n         &lt;expression valueType=&quot;t:String&quot; value=&quot;warning&quot; xsi:type=&quot;Literal&quot;/&gt;\n      &lt;/def&gt;\n      &lt;def name=&quot;Get Summary&quot; context=&quot;Patient&quot; accessLevel=&quot;Public&quot;&gt;\n         &lt;expression valueType=&quot;t:String&quot; value=&quot;Avoid prescribing opioid pain medication and benzodiazepine concurrently whenever possible.&quot; xsi:type=&quot;Literal&quot;/&gt;\n      &lt;/def&gt;\n      &lt;def name=&quot;Get Detail&quot; context=&quot;Patient&quot; accessLevel=&quot;Public&quot;&gt;\n         &lt;expression xsi:type=&quot;If&quot;&gt;\n            &lt;condition asType=&quot;t:Boolean&quot; xsi:type=&quot;As&quot;&gt;\n               &lt;operand name=&quot;Validate Trigger Event For Benzodiazepine&quot; xsi:type=&quot;ExpressionRef&quot;/&gt;\n            &lt;/condition&gt;\n            &lt;then valueType=&quot;t:String&quot; value=&quot;The benzodiazepine prescription request is concurrent with an active opioid prescription&quot; xsi:type=&quot;Literal&quot;/&gt;\n            &lt;else valueType=&quot;t:String&quot; value=&quot;The opioid prescription request is concurrent with an active benzodiazepine prescription&quot; xsi:type=&quot;Literal&quot;/&gt;\n         &lt;/expression&gt;\n      &lt;/def&gt;\n   &lt;/statements&gt;\n&lt;/library&gt;\n</code>\n      </pre>\n    </div>"
  ];
  fhir:Library.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.value [ fhir:value "OpioidCDS_REC_11" ]
  ];
  fhir:Library.version [ fhir:value "0.1.0"];
  fhir:Library.title [ fhir:value "Opioid CDS Logic for recommendation #11"];
  fhir:Library.status [ fhir:value "active"];
  fhir:Library.experimental [ fhir:value "false"^^xsd:boolean];
  fhir:Library.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/library-type" ];
       fhir:Coding.code [ fhir:value "logic-library" ];
       fhir:Coding.display [ fhir:value "Logic Library" ]
     ]
  ];
  fhir:Library.date [ fhir:value "2018-03-25T13:49:09-06:00"^^xsd:dateTime];
  fhir:Library.publisher [ fhir:value "Centers for Disease Control and Prevention (CDC)"];
  fhir:Library.description [ fhir:value "Opioid decision support logic to avoid prescribing opioid pain medication and benzodiazepines concurrently whenever possible."];
  fhir:Library.useContext [
     fhir:index 0;
     fhir:UsageContext.code [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ];
       fhir:Coding.code [ fhir:value "focus" ];
       fhir:Coding.display [ fhir:value "Clinical Focus" ]
     ];
     fhir:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:182888003;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "182888003" ];
         fhir:Coding.display [ fhir:value "Medication requested (situation)" ]
       ]
     ]
  ], [
     fhir:index 1;
     fhir:UsageContext.code [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ];
       fhir:Coding.code [ fhir:value "focus" ];
       fhir:Coding.display [ fhir:value "Clinical Focus" ]
     ];
     fhir:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:82423001;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "82423001" ];
         fhir:Coding.display [ fhir:value "Chronic pain (finding)" ]
       ]
     ]
  ];
  fhir:Library.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
       fhir:Coding.code [ fhir:value "US" ];
       fhir:Coding.display [ fhir:value "United States of America" ]
     ]
  ];
  fhir:Library.purpose [ fhir:value "The purpose of this library is to determine whether opioid pain medication and benzodiazepines have been prescribed concurrently."];
  fhir:Library.usage [ fhir:value "This library is used to notify the prescriber/user to avoid prescribing opioid pain medication and benzodiazepines concurrently."];
  fhir:Library.copyright [ fhir:value "© CDC 2016+."];
  fhir:Library.topic [
     fhir:index 0;
     fhir:CodeableConcept.text [ fhir:value "Opioid Prescribing" ]
  ];
  fhir:Library.author [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "Kensaku Kawamoto, MD, PhD, MHS" ]
  ], [
     fhir:index 1;
     fhir:ContactDetail.name [ fhir:value "Bryn Rhodes" ]
  ], [
     fhir:index 2;
     fhir:ContactDetail.name [ fhir:value "Floyd Eisenberg, MD, MPH" ]
  ], [
     fhir:index 3;
     fhir:ContactDetail.name [ fhir:value "Robert McClure, MD, MPH" ]
  ];
  fhir:Library.relatedArtifact [
     fhir:index 0;
     fhir:RelatedArtifact.type [ fhir:value "documentation" ];
     fhir:RelatedArtifact.display [ fhir:value "CDC guideline for prescribing opioids for chronic pain" ];
     fhir:RelatedArtifact.document [
       fhir:Attachment.url [ fhir:value "https://guidelines.gov/summaries/summary/50153/cdc-guideline-for-prescribing-opioids-for-chronic-pain---united-states-2016#420" ]
     ]
  ], [
     fhir:index 1;
     fhir:RelatedArtifact.type [ fhir:value "depends-on" ];
     fhir:RelatedArtifact.resource [
       fhir:value "http://example.org/fhir/Library/opioidcds-common";
       fhir:link <http://example.org/fhir/Library/opioidcds-common>
     ]
  ];
  fhir:Library.dataRequirement [
     fhir:index 0;
     fhir:DataRequirement.type [ fhir:value "MedicationRequest" ];
     fhir:DataRequirement.codeFilter [
       fhir:index 0;
       fhir:DataRequirement.codeFilter.path [ fhir:value "medicationCodeableConcept" ];
       fhir:DataRequirement.codeFilter.valueSet [
         fhir:value "http://example.org/fhir/ValueSet/benzodiazepines";
         fhir:link <http://example.org/fhir/ValueSet/benzodiazepines>
       ]
     ]
  ], [
     fhir:index 1;
     fhir:DataRequirement.type [ fhir:value "MedicationRequest" ];
     fhir:DataRequirement.codeFilter [
       fhir:index 0;
       fhir:DataRequirement.codeFilter.path [ fhir:value "medicationCodeableConcept" ];
       fhir:DataRequirement.codeFilter.valueSet [
         fhir:value "http://example.org/fhir/ValueSet/opioids-abused-in-ambulatory-care";
         fhir:link <http://example.org/fhir/ValueSet/opioids-abused-in-ambulatory-care>
       ]
     ]
  ];
  fhir:Library.content [
     fhir:index 0;
     fhir:Attachment.contentType [ fhir:value "application/elm+xml" ];
     fhir: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ICAgIDxvcGVyYW5kIHhzaTp0eXBlPSJRdWVyeSI+CiAgICAgICAgICAgICAgIDxzb3VyY2UgYWxpYXM9InRyaWdnZXJTY3JpcHQiPgogICAgICAgICAgICAgICAgICA8ZXhwcmVzc2lvbiBuYW1lPSJDb250ZXh0UHJlc2NyaXB0aW9ucyIgeHNpOnR5cGU9IlBhcmFtZXRlclJlZiIvPgogICAgICAgICAgICAgICA8L3NvdXJjZT4KICAgICAgICAgICAgICAgPHdoZXJlIG5hbWU9IklzQmVuem9kaWF6ZXBpbmUiIGxpYnJhcnlOYW1lPSJDb21tb24iIHhzaTp0eXBlPSJGdW5jdGlvblJlZiI+CiAgICAgICAgICAgICAgICAgIDxvcGVyYW5kIG5hbWU9IlRvQ29kZSIgbGlicmFyeU5hbWU9IkNvbW1vbiIgeHNpOnR5cGU9IkZ1bmN0aW9uUmVmIj4KICAgICAgICAgICAgICAgICAgICAgPG9wZXJhbmQgeHNpOnR5cGU9IkluZGV4ZXIiPgogICAgICAgICAgICAgICAgICAgICAgICA8b3BlcmFuZCBwYXRoPSJjb2RpbmciIHhzaTp0eXBlPSJQcm9wZXJ0eSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzb3VyY2UgcGF0aD0ibWVkaWNhdGlvbiIgc2NvcGU9InRyaWdnZXJTY3JpcHQiIHhzaTp0eXBlPSJQcm9wZXJ0eSIvPgogICAgICAgICAgICAgICAgICAgICAgICA8L29wZXJhbmQ+CiAgICAgICAgICAgICAgICAgICAgICAgIDxvcGVyYW5kIHZhbHVlVHlwZT0idDpJbnRlZ2VyIiB2YWx1ZT0iMCIgeHNpOnR5cGU9IkxpdGVyYWwiLz4KICAgICAgICAgICAgICAgICAgICAgPC9vcGVyYW5kPgogICAgICAgICAgICAgICAgICA8L29wZXJhbmQ+CiAgICAgICAgICAgICAgIDwvd2hlcmU+CiAgICAgICAgICAgIDwvb3BlcmFuZD4KICAgICAgICAgPC9leHByZXNzaW9uPgogICAgICA8L2RlZj4KICA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9IlBhdGllbnQiIGFjY2Vzc0xldmVsPSJQdWJsaWMiPgogICAgICAgICA8ZXhwcmVzc2lvbiB4c2k6dHlwZT0iSWYiPgogICAgICAgICAgICA8Y29uZGl0aW9uIGFzVHlwZT0idDpCb29sZWFuIiB4c2k6dHlwZT0iQXMiPgogICAgICAgICAgICAgICA8b3BlcmFuZCBuYW1lPSJWYWxpZGF0ZSBUcmlnZ2VyIEV2ZW50IEZvciBCZW56b2RpYXplcGluZSIgeHNpOnR5cGU9IkV4cHJlc3Npb25SZWYiLz4KICAgICAgICAgICAgPC9jb25kaXRpb24+CiAgICAgICAgICAgIDx0aGVuIHZhbHVlVHlwZT0idDpTdHJpbmciIHZhbHVlPSJUaGUgYmVuem9kaWF6ZXBpbmUgcHJlc2NyaXB0aW9uIHJlcXVlc3QgaXMgY29uY3VycmVudCB3aXRoIGFuIGFjdGl2ZSBvcGlvaWQgcHJlc2NyaXB0aW9uIiB4c2k6dHlwZT0iTGl0ZXJhbCIvPgogICAgICAgICAgICA8ZWxzZSB2YWx1ZVR5cGU9InQ6U3RyaW5nIiB2YWx1ZT0iVGhlIG9waW9pZCBwcmVzY3JpcHRpb24gcmVxdWVzdCBpcyBjb25jdXJyZW50IHdpdGggYW4gYWN0aXZlIGJlbnpvZGlhemVwaW5lIHByZXNjcmlwdGlvbiIgeHNpOnR5cGU9IkxpdGVyYWwiLz4KICAgICAgICAgPC9leHByZXNzaW9uPgogICAgICA8L2RlZj4KICAgPC9zdGF0ZW1lbnRzPgo8L2xpYnJhcnk+Cg=="^^xsd:base64Binary ]
  ]] .

# - ontology header ------------------------------------------------------------

[a owl:Ontology;
  owl:imports fhir:fhir.ttl] .

# -------------------------------------------------------------------------------------


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.