@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/uv/crmi/ActivityDefinition/shareable-example> a fhir:ActivityDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "shareable-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareableactivitydefinition"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareableactivitydefinition>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ActivityDefinition </b><a name=\"shareable-example\"> </a><a name=\"hcshareable-example\"> </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\">ResourceActivityDefinition &quot;shareable-example&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-crmi-shareableactivitydefinition.html\">CRMI Shareable ActivityDefinition</a></p></div><p><b>CQF Knowledge capability</b>: shareable</p><p><b>CQF Knowledge capability</b>: computable</p><p><b>url</b>: <code>http://hl7.org/fhir/uv/crmi/ActivityDefinition/shareable-example</code></p><p><b>identifier</b>: <a href=\"http://terminology.hl7.org/5.5.0/NamingSystem-uri.html\" title=\"As defined by RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt)(with many schemes defined in many RFCs). For OIDs and UUIDs, use the URN form (urn:oid:(note: lowercase) and urn:uuid:). See http://www.ietf.org/rfc/rfc3001.txt and http://www.ietf.org/rfc/rfc4122.txt \r\n\r\nThis oid is used as an identifier II.root to indicate the the extension is an absolute URI (technically, an IRI). Typically, this is used for OIDs and GUIDs. Note that when this OID is used with OIDs and GUIDs, the II.extension should start with urn:oid or urn:uuid: \r\n\r\nNote that this OID is created to aid with interconversion between CDA and FHIR - FHIR uses urn:ietf:rfc:3986 as equivalent to this OID. URIs as identifiers appear more commonly in FHIR.\r\n\r\nThis OID may also be used in CD.codeSystem.\">Uniform Resource Identifier (URI)</a>/urn:oid:2.16.840.1.113883.4.642.40.38.11.3</p><p><b>version</b>: 1.0.0</p><p><b>name</b>: ShareableActivityDefinitionExample</p><p><b>title</b>: Shareable ActivityDefinition Example</p><p><b>status</b>: draft</p><p><b>experimental</b>: true</p><p><b>date</b>: 2024-05-31 16:42:56+0000</p><p><b>publisher</b>: HL7 International / Clinical Decision Support</p><p><b>contact</b>: <a href=\"http://www.hl7.org/Special/committees/dss\">http://www.hl7.org/Special/committees/dss</a></p><p><b>description</b>: Example Shareable Activity Definition for a recommendation to order a medication</p><p><b>jurisdiction</b>: World <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (m49.htm#001)</span></p><p><b>kind</b>: MedicationRequest</p><p><b>code</b>: Order a medication <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>intent</b>: proposal</p><p><b>priority</b>: routine</p><p><b>doNotPerform</b>: false</p><p><b>product</b>: Levothyroxine sodium 75 microgram oral tablet <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#376988009)</span></p><blockquote><p><b>dosage</b></p><p><b>sequence</b>: 1</p><p><b>text</b>: 75mcg daily</p><p><b>timing</b>: Once per1 days</p><p><b>route</b>: Oral Route (qualifier value) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#26643006)</span></p><blockquote><p><b>doseAndRate</b></p></blockquote></blockquote></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "shareable" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "computable" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/uv/crmi/ActivityDefinition/shareable-example"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.40.38.11.3" ]
  ] ) ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "ShareableActivityDefinitionExample"] ; # 
  fhir:title [ fhir:v "Shareable ActivityDefinition Example"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2024-05-31T16:42:56+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 International / Clinical Decision Support"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/dss" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Example Shareable Activity Definition for a recommendation to order a medication"] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:kind [ fhir:v "MedicationRequest"] ; # 
  fhir:code [
     fhir:text [ fhir:v "Order a medication" ]
  ] ; # 
  fhir:intent [ fhir:v "proposal"] ; # 
  fhir:priority [ fhir:v "routine"] ; # 
  fhir:doNotPerform [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:product [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       a sct:376988009 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "376988009" ] ;
       fhir:display [ fhir:v "Levothyroxine sodium 75 microgram oral tablet" ]
     ] )
  ] ; # 
  fhir:dosage ( [
     fhir:sequence [ fhir:v "1"^^xsd:integer ] ;
     fhir:text [ fhir:v "75mcg daily" ] ;
     fhir:timing [
       fhir:repeat [
         fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "1"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "d" ]
       ]
     ] ;
     fhir:route [
       fhir:coding ( [
         a sct:26643006 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "26643006" ] ;
         fhir:display [ fhir:v "Oral Route (qualifier value)" ]
       ] )
     ] ;
     fhir:doseAndRate ( [
       fhir:type [
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/dose-rate-type"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "ordered" ] ;
           fhir:display [ fhir:v "Ordered" ]
         ] )
       ] ;
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "75"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "mcg" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "ug" ]
       ]
     ] )
  ] ) . # 

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

