FHIR Clinical Guidelines (v1.0.0) (STU1)

This page is part of the Clinical Guidelines (v1.0.0: STU 1) based on FHIR R4. This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

CPGReportFlagTaskActivityDefinition

Formats: Narrative, XML, JSON, Turtle

Raw ttl


@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 -------------------------------------------------------------------

 a fhir:ActivityDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "cpg-reportflagtask-activitydefinition"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>url</b>: <code>http://hl7.org/fhir/uv/cpg/ActivityDefinition/cpg-reportflagtask-activitydefinition</code></p><p><b>identifier</b>: id: CPGReportFlagTaskActivityDefinition (OFFICIAL)</p><p><b>version</b>: 1.0.0</p><p><b>name</b>: CPGReportFlagTaskActivityDefinition</p><p><b>title</b>: CPG Report Flag ActivityDefinition</p><p><b>status</b>: draft</p><p><b>experimental</b>: false</p><p><b>date</b>: 2019-06-23</p><p><b>jurisdiction</b>: <span title=\"Codes: {http://unstats.un.org/unsd/methods/m49/m49.htm 001}\">World</span></p><p><b>kind</b>: Task</p><p><b>profile</b>: <a href=\"http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-reportflagtask\">http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-reportflagtask</a></p><p><b>code</b>: <span title=\"Codes: {http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type report-flag}\">Report a flag</span></p><p><b>intent</b>: proposal</p><p><b>priority</b>: urgent</p><blockquote><p><b>dynamicValue</b></p><p><b>path</b>: status</p><h3>Expressions</h3><table class=\"grid\"><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>dynamicValue</b></p><p><b>path</b>: for</p><h3>Expressions</h3><table class=\"grid\"><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>dynamicValue</b></p><p><b>path</b>: encounter</p><h3>Expressions</h3><table class=\"grid\"><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>dynamicValue</b></p><p><b>path</b>: authoredOn</p><h3>Expressions</h3><table class=\"grid\"><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>dynamicValue</b></p><p><b>path</b>: owner</p><h3>Expressions</h3><table class=\"grid\"><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>dynamicValue</b></p><p><b>path</b>: input</p><h3>Expressions</h3><table class=\"grid\"><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote></div>"
  ];
  fhir:ActivityDefinition.url [ fhir:value "http://hl7.org/fhir/uv/cpg/ActivityDefinition/cpg-reportflagtask-activitydefinition"];
  fhir:ActivityDefinition.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.value [ fhir:value "CPGReportFlagTaskActivityDefinition" ]
  ];
  fhir:ActivityDefinition.version [ fhir:value "1.0.0"];
  fhir:ActivityDefinition.name [ fhir:value "CPGReportFlagTaskActivityDefinition"];
  fhir:ActivityDefinition.title [ fhir:value "CPG Report Flag ActivityDefinition"];
  fhir:ActivityDefinition.status [ fhir:value "draft"];
  fhir:ActivityDefinition.experimental [ fhir:value "false"^^xsd:boolean];
  fhir:ActivityDefinition.date [ fhir:value "2019-06-23"^^xsd:date];
  fhir:ActivityDefinition.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       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-reportflagtask";
     fhir:link <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-reportflagtask>
  ];
  fhir:ActivityDefinition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type" ];
       fhir:Coding.code [ fhir:value "report-flag" ];
       fhir:Coding.display [ fhir:value "Report a flag" ]     ]
  ];
  fhir:ActivityDefinition.intent [ fhir:value "proposal"];
  fhir:ActivityDefinition.priority [ fhir:value "urgent"];
  fhir:ActivityDefinition.dynamicValue [
     fhir:index 0;
     fhir:ActivityDefinition.dynamicValue.path [ fhir:value "status" ];
     fhir:ActivityDefinition.dynamicValue.expression [
       fhir:Expression.language [ fhir:value "text/cql" ];
       fhir:Expression.expression [ fhir:value "'draft'" ]     ]
  ], [
     fhir:index 1;
     fhir:ActivityDefinition.dynamicValue.path [ fhir:value "for" ];
     fhir:ActivityDefinition.dynamicValue.expression [
       fhir:Expression.language [ fhir:value "text/cql" ];
       fhir:Expression.expression [ fhir:value "Patient" ]     ]
  ], [
     fhir:index 2;
     fhir:ActivityDefinition.dynamicValue.path [ fhir:value "encounter" ];
     fhir:ActivityDefinition.dynamicValue.expression [
       fhir:Expression.language [ fhir:value "text/cql" ];
       fhir:Expression.expression [ fhir:value "Encounter" ]     ]
  ], [
     fhir:index 3;
     fhir:ActivityDefinition.dynamicValue.path [ fhir:value "authoredOn" ];
     fhir:ActivityDefinition.dynamicValue.expression [
       fhir:Expression.language [ fhir:value "text/cql" ];
       fhir:Expression.expression [ fhir:value "Now()" ]     ]
  ], [
     fhir:index 4;
     fhir:ActivityDefinition.dynamicValue.path [ fhir:value "owner" ];
     fhir:ActivityDefinition.dynamicValue.expression [
       fhir:Expression.language [ fhir:value "text/cql" ];
       fhir:Expression.expression [ fhir:value "Practitioner" ]     ]
  ], [
     fhir:index 5;
     fhir:ActivityDefinition.dynamicValue.path [ fhir:value "input" ];
     fhir:ActivityDefinition.dynamicValue.expression [
       fhir:Expression.language [ fhir:value "text/cql" ];
       fhir:Expression.expression [ fhir:value "TaskInput { type: \"Report Flag\", value: Flag { status: 'active', code: IssueCodeableConcept, subject: Patient, encounter: Encounter, period: Interval[Today(), null] } }" ]     ]
  ].

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

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