Example ActivityDefinition/blood-tubes-supply (Turtle)
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:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "blood-tubes-supply"]; #
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=\"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 "blood-tubes-supply" </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:ActivityDefinition.status [ fhir:value "draft"]; #
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"^^xsd:decimal ]
]; #
fhir:ActivityDefinition.transform [
fhir:value "http://example.org/fhir/StructureMap/supplyrequest-transform";
fhir:link <http://example.org/fhir/StructureMap/supplyrequest-transform>
]] . #
# - 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.