Clinical Practice Guidelines
3.0.0-ballot - STU 3 Ballot International flag

Clinical Practice Guidelines, published by HL7 International / Clinical Decision Support. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cqf-recommendations/ and changes regularly. See the Directory of published versions

: Activity Example Record Inference AD

Active as of 2026-11-10

Raw ttl | Download


@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/ActivityDefinition/activity-example-recordinference-ad> a fhir:ActivityDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "activity-example-recordinference-ad"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-recordinferenceactivity" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-recordinferenceactivity>
     ], [
       fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-computableactivity" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-computableactivity>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <table class=\"narrative-table\">\n    <tbody>\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\"><a name=\"metadata\"> </a>Metadata</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Title</th>\n\n\n\n<td class=\"content-container\">Activity Example Record Inference AD</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Version</th>\n\n\n\n<td class=\"content-container\">3.0.0-ballot</td>\n\n\n</tr>\n\n\n\n\n\n\n\n  \n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Identifier</th>\n\n\n\n<td class=\"content-container\">urn:oid:2.16.840.1.113883.4.642.40.48.11.15</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Experimental</th>\n\n\n\n<td class=\"content-container\">true</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Jurisdiction</th>\n\n\n\n<td class=\"content-container\">\n    World\n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Steward (Publisher)</th>\n\n\n\n<td class=\"content-container\">HL7 International / Clinical Decision Support</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Steward Contact</th>\n\n\n\n<td class=\"content-container\">HL7 International / Clinical Decision Support</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\"><div><p>Example Activity Definition for a recommendation to record an inference</p>\n</div></td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Resource Kind</th>\n\n\n\n<td class=\"content-container\">Task</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Resource Profile</th>\n\n\n\n<td class=\"content-container\"><a href=\"StructureDefinition-cpg-recordinferencetask.html\">CPG Record Inference Task</a></td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    Record an inference\n\n\n</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Intent</th>\n\n\n\n<td class=\"content-container\">Proposal</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Dynamic Value</th>\n  <td class=\"content-container\">\n    \n    <em>Path</em>: contained\n    \n    \n    <br/>\n    <em>Expression</em>: FHIR.Observation { id: FHIR.id { value: 'inference' }, extension: List&lt;FHIR.Extension&gt; { FHIR.Extension { url: FHIR.uri { value: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-caseFeatureType' }, value: FHIR.code { value: 'inferred' } } }, status: FHIR.ObservationStatus {value: 'final' }, code: FHIR.CodeableConcept { coding: List&lt;FHIR.Coding&gt; { FHIR.Coding { code: FHIR.code { value: 'Inference' } } } }, subject: FHIR.Reference { reference: FHIR.string { value: Patient.id.value } }, issued: FHIR.instant { value: Now() } }\n    \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Dynamic Value</th>\n  <td class=\"content-container\">\n    \n    <em>Path</em>: input[0].type\n    \n    \n    <br/>\n    <em>Expression</em>: %resource.code\n    \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Dynamic Value</th>\n  <td class=\"content-container\">\n    \n    <em>Path</em>: input[0].valueReference\n    \n    \n    <br/>\n    <em>Expression</em>: FHIR.Reference { reference: FHIR.string { value: '#inference' } }\n    \n  </td>\n</tr>\n\n\n\n<tr>\n  <th colspan=\"2\" scope=\"row\" class=\"row-header\">Generated using version 0.5.6 of the sample-content-ig Liquid templates</th>\n</tr>\n\n    </tbody>\n  </table>\n</div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability" ] ;
     fhir:Extension.valueCode [ fhir:value "shareable" ]
  ], [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability" ] ;
     fhir:Extension.valueCode [ fhir:value "computable" ]
  ], [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability" ] ;
     fhir:Extension.valueCode [ fhir:value "publishable" ]
  ] ;
  fhir:ActivityDefinition.url [ fhir:value "http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-recordinference-ad"] ;
  fhir:ActivityDefinition.identifier [
     fhir:index -1 ;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.40.48.11.15" ]
  ] ;
  fhir:ActivityDefinition.version [ fhir:value "3.0.0-ballot"] ;
  fhir:ActivityDefinition.name [ fhir:value "ActivityExampleRecordInferenceAD"] ;
  fhir:ActivityDefinition.title [ fhir:value "Activity Example Record Inference AD"] ;
  fhir:ActivityDefinition.status [ fhir:value "active"] ;
  fhir:ActivityDefinition.experimental [ fhir:value "true"^^xsd:boolean] ;
  fhir:ActivityDefinition.date [ fhir:value "2026-11-10T08:06:13+00:00"^^xsd:dateTime] ;
  fhir:ActivityDefinition.publisher [ fhir:value "HL7 International / Clinical Decision Support"] ;
  fhir:ActivityDefinition.contact [
     fhir:index -1 ;
     fhir:ContactDetail.name [ fhir:value "HL7 International / Clinical Decision Support" ] ;
     fhir:ContactDetail.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/dss" ]
     ]
  ] ;
  fhir:ActivityDefinition.description [ fhir:value "Example Activity Definition for a recommendation to record an inference"] ;
  fhir:ActivityDefinition.jurisdiction [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:Coding.code [ fhir:value "001" ] ;
       fhir:Coding.display [ fhir:value "World" ]
     ]
  ] ;
  fhir:ActivityDefinition.kind [ fhir:value "Task"] ;
  fhir:ActivityDefinition.profile [
     fhir:value "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-recordinferencetask" ;
     fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-recordinferencetask>
  ] ;
  fhir:ActivityDefinition.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs" ] ;
       fhir:Coding.code [ fhir:value "record-inference" ] ;
       fhir:Coding.display [ fhir:value "Record an inference" ]
     ]
  ] ;
  fhir:ActivityDefinition.intent [ fhir:value "proposal"] ;
  fhir:ActivityDefinition.doNotPerform [ fhir:value "false"^^xsd:boolean] ;
  fhir:ActivityDefinition.dynamicValue [
     fhir:index -1 ;
     fhir:ActivityDefinition.dynamicValue.path [ fhir:value "contained" ] ;
     fhir:ActivityDefinition.dynamicValue.expression [
       fhir:Expression.language [ fhir:value "text/cql-expression" ] ;
       fhir:Expression.expression [ fhir:value "FHIR.Observation { id: FHIR.id { value: 'inference' }, extension: List<FHIR.Extension> { FHIR.Extension { url: FHIR.uri { value: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-caseFeatureType' }, value: FHIR.code { value: 'inferred' } } }, status: FHIR.ObservationStatus {value: 'final' }, code: FHIR.CodeableConcept { coding: List<FHIR.Coding> { FHIR.Coding { code: FHIR.code { value: 'Inference' } } } }, subject: FHIR.Reference { reference: FHIR.string { value: Patient.id.value } }, issued: FHIR.instant { value: Now() } }" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:ActivityDefinition.dynamicValue.path [ fhir:value "input[0].type" ] ;
     fhir:ActivityDefinition.dynamicValue.expression [
       fhir:Expression.language [ fhir:value "text/cql-expression" ] ;
       fhir:Expression.expression [ fhir:value "%resource.code" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:ActivityDefinition.dynamicValue.path [ fhir:value "input[0].valueReference" ] ;
     fhir:ActivityDefinition.dynamicValue.expression [
       fhir:Expression.language [ fhir:value "text/cql-expression" ] ;
       fhir:Expression.expression [ fhir:value "FHIR.Reference { reference: FHIR.string { value: '#inference' } }" ]
     ]
  ] .

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

<http://hl7.org/fhir/ActivityDefinition/activity-example-recordinference-ad.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/ActivityDefinition/activity-example-recordinference-ad.ttl> .