Release 4B R5 Final QA

This page is part of the FHIR Specification (v4.3.0: R4B (v5.0.0-draft-final: Final QA Preview for R5 - STU 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 R3

Activitydefinition-supplyrequest-example.ttl

Example ActivityDefinition/blood-tubes-supply (Turtle)

Clinical Decision Support Work Group Maturity Level : N/A Standards Status : Informative Compartments : Not linked to any defined compartments

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

Definition for blood collection tubes supply

@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:Resource.id [ fhir:value "blood-tubes-supply"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:ActivityDefinition.status [ fhir:value "draft"];
  fhir:ActivityDefinition.experimental [ fhir:value "true"];
  fhir:ActivityDefinition.description [ fhir:value "10 Blood collect tubes blue cap"];
  fhir:ActivityDefinition.purpose [ fhir:value "Describes a request for 10 Blood collection tubes with blue caps."];
  fhir:ActivityDefinition.usage [ fhir:value "This activity definition is used as the definition of a supply request to resupply blood collection tubes. 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.kind [ fhir:value "SupplyRequest"];
  fhir:ActivityDefinition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "BlueTubes" ];
       fhir:Coding.display [ fhir:value "Blood collect tubes blue cap" ]
     ]
  ];
  fhir:ActivityDefinition.quantity [
     fhir:Quantity.value [ fhir:value "10" ]
  ];
  fhir:ActivityDefinition.transform [ fhir:value "http://example.org/fhir/StructureMap/supplyrequest-transform"] .

[a fhir:ActivityDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "blood-tubes-supply"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ActivityDefinition</b><a name=\"blood-tubes-supply\"> </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;blood-tubes-supply&quot; </p></div><p><b>status</b>: draft</p><p><b>description</b>: 10 Blood collect tubes blue cap</p><p><b>purpose</b>: Describes a request for 10 Blood collection tubes with blue caps.</p><p><b>usage</b>: This activity definition is used as the definition of a supply request to resupply blood collection tubes. 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>kind</b>: SupplyRequest</p><p><b>code</b>: Blood collect tubes blue cap <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#BlueTubes)</span></p><p><b>quantity</b>: 10</p><p><b>transform</b>: <a href=\"http://example.org/fhir/StructureMap/supplyrequest-transform\">http://example.org/fhir/StructureMap/supplyrequest-transform</a></p></div>"
  ] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:description [ fhir:v "10 Blood collect tubes blue cap"] ; # 
  fhir:purpose [ fhir:v "Describes a request for 10 Blood collection tubes with blue caps."] ; # 
  fhir:usage [ fhir:v "This activity definition is used as the definition of a supply request to resupply blood collection tubes. 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:kind [ fhir:v "SupplyRequest"] ; # 
  fhir:code [
     fhir:coding ( [
       fhir:code [ fhir:v "BlueTubes" ] ;
       fhir:display [ fhir:v "Blood collect tubes blue cap" ]
     ] )
  ] ; # 
  fhir:quantity [
     fhir:value [ fhir:v "10"^^xsd:decimal ]
  ] ; # 
  fhir:transform [
     fhir:v "http://example.org/fhir/StructureMap/supplyrequest-transform"^^xsd:anyURI ;
     fhir:link <http://example.org/fhir/StructureMap/supplyrequest-transform>
  ]] . # 


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


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.