Release 5 Preview #3

This page is part of the FHIR Specification (v4.5.0: R5 Preview #3). 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

Activitydefinition-servicerequest-example.ttl

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

<http://hl7.org/fhir/ActivityDefinition/heart-valve-replacement> 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</b></p><p><b>id</b>: heart-valve-replacement</p><p><b>status</b>: draft</p><p><b>description</b>: Heart valve replacement</p><p><b>useContext</b>: , </p><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>: <span>Heart valve replacement</span></p><p><b>kind</b>: ServiceRequest</p><p><b>code</b>: <span>Heart valve replacement</span></p><p><b>timing</b>: Events: Now()</p><p><b>location</b>: <a>Generated Summary: id: 1; id: B1-S.F2; status: active; name: South Wing, second floor; alias: BU MC, SW, F2, alias: Burgers University Medical Center, South Wing, second floor; description: Second floor of the Old South Wing, formerly in use by Psychiatry; mode: instance; ph: 2328(WORK), fax: 2329(WORK), second wing admissions, http://sampleorg.com/southwing(WORK); <span>Wing</span></a></p><h3>Participants</h3><table><tr><td>-</td><td><b>Type</b></td><td><b>Role</b></td></tr><tr><td>*</td><td>practitioner</td><td><span>Interventional Cardiology</span></td></tr></table><p><b>bodySite</b>: <span>Heart valve structure</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:link <http://hl7.org/fhir/Location/1>;
     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" ]
     ]
  ] .

<http://hl7.org/fhir/Location/1> a fhir:Location .

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

<http://hl7.org/fhir/ActivityDefinition/heart-valve-replacement.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/ActivityDefinition/heart-valve-replacement.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.