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 ActivityDefinition/heart-valve-replacement (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)

Definition for heart valve replacement service request

@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:ActivityDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "heart-valve-replacement"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ActivityDefinition</b><a name=\"heart-valve-replacement\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource ActivityDefinition &quot;heart-valve-replacement&quot; </p></div><p><b>status</b>: draft</p><p><b>description</b>: Heart valve replacement</p><h3>UseContexts</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td><td><b>Value[x]</b></td></tr><tr><td>*</td><td>Age Range (Details: http://terminology.hl7.org/CodeSystem/usage-context-type code age = 'Age Range', stated as 'null')</td><td>Adult <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (meshb.nlm.nih.gov#D000328)</span></td></tr><tr><td>*</td><td>User Type (Details: http://terminology.hl7.org/CodeSystem/usage-context-type code user = 'User Type', stated as 'null')</td><td>Physician <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#309343006)</span></td></tr></table><p><b>purpose</b>: Describes the proposal to perform a Heart Valve replacement.</p><p><b>usage</b>: This activity definition is used as the definition of a service request to perform a heart valve replacement. Elements that apply universally are defined here, while elements that apply to the specific setting of a referral within a particular order set are defined in the order set.</p><p><b>topic</b>: Heart valve replacement <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#34068001)</span></p><p><b>kind</b>: ServiceRequest</p><p><b>code</b>: Heart valve replacement <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#34068001)</span></p><p><b>timing</b>: Events: Now()</p><h3>Locations</h3><table class=\"grid\"><tr><td>-</td><td><b>Reference</b></td></tr><tr><td>*</td><td><a href=\"location-example.html\">Location/1</a> &quot;South Wing, second floor&quot;</td></tr></table><h3>Participants</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Role</b></td></tr><tr><td>*</td><td>practitioner</td><td>Interventional Cardiology <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (provider-taxonomy#207RI0011X)</span></td></tr></table><p><b>bodySite</b>: Heart valve structure <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#17401000)</span></p></div>"
  ];
  fhir:ActivityDefinition.status [ fhir:value "draft"];
  fhir:ActivityDefinition.description [ fhir:value "Heart valve replacement"];
  fhir:ActivityDefinition.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 "age" ]
     ];
     fhir:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://meshb.nlm.nih.gov" ];
         fhir:Coding.code [ fhir:value "D000328" ];
         fhir:Coding.display [ fhir:value "Adult" ]
       ]
     ]
  ], [
     fhir:index 1;
     fhir:UsageContext.code [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ];
       fhir:Coding.code [ fhir:value "user" ]
     ];
     fhir:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:309343006;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "309343006" ];
         fhir:Coding.display [ fhir:value "Physician" ]
       ]
     ]
  ];
  fhir:ActivityDefinition.purpose [ fhir:value "Describes the proposal to perform a Heart Valve replacement."];
  fhir:ActivityDefinition.usage [ fhir:value "This activity definition is used as the definition of a service request to perform a heart valve replacement. Elements that apply universally are defined here, while elements that apply to the specific setting of a referral within a particular order set are defined in the order set."];
  fhir:ActivityDefinition.topic [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:34068001;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "34068001" ];
       fhir:Coding.display [ fhir:value "Heart valve replacement" ]
     ]
  ];
  fhir:ActivityDefinition.kind [ fhir:value "ServiceRequest"];
  fhir:ActivityDefinition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:34068001;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "34068001" ];
       fhir:Coding.display [ fhir:value "Heart valve replacement" ]
     ]
  ];
  fhir:ActivityDefinition.timingTiming [
     fhir:Timing.event [
       fhir:index 0;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-expression" ];
         fhir:Extension.valueExpression [
           fhir:Expression.language [ fhir:value "text/cql" ];
           fhir:Expression.expression [ fhir:value "Now()" ]
         ]
       ]
     ]
  ];
  fhir:ActivityDefinition.location [
     fhir:CodeableReference.reference [
       fhir:Reference.reference [ fhir:value "Location/1" ]
     ]
  ];
  fhir:ActivityDefinition.participant [
     fhir:index 0;
     fhir:ActivityDefinition.participant.type [ fhir:value "practitioner" ];
     fhir:ActivityDefinition.participant.role [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://nucc.org/provider-taxonomy" ];
         fhir:Coding.code [ fhir:value "207RI0011X" ];
         fhir:Coding.display [ fhir:value "Interventional Cardiology" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Interventional Cardiology" ]
     ]
  ];
  fhir:ActivityDefinition.bodySite [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:17401000;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "17401000" ];
       fhir:Coding.display [ fhir:value "Heart valve structure" ]
     ]
  ]] .

# - 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.