Standardized Medication Profile (SMP) FHIR IG
1.0.0 - STU 1 United States of America flag

Standardized Medication Profile (SMP) FHIR IG, published by HL7 International / Pharmacy. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/smp-ig/ and changes regularly. See the Directory of published versions

: smp-bundle-documentreference-example - TTL Representation

Page standards status: Informative

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:DocumentReference ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "smp-bundle-documentreference-example"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/smp/StructureDefinition/smp-bundle-documentreference"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/smp/StructureDefinition/smp-bundle-documentreference>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference smp-bundle-documentreference-example</b></p><a name=\"smp-bundle-documentreference-example\"> </a><a name=\"hcsmp-bundle-documentreference-example\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-smp-bundle-documentreference.html\">Standardized Medication Profile - Bundle DocumentReference</a></p></div><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 #xD;#xA;#xD;#xA;This 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: #xD;#xA;#xD;#xA;Note 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.#xD;#xA;#xD;#xA;This OID may also be used in CD.codeSystem.\">Uniform Resource Identifier (URI)</a>/urn:uuid:7b47e07a-8f95-4eb6-a0a5-ef3f5c6518b1</p><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 70006-2}\">Medication Management Note</span></p><p><b>category</b>: <span title=\"Codes:{http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category clinical-note}\">Clinical Note</span></p><p><b>subject</b>: <code>patient-betsysmith-johnson01</code></p><p><b>date</b>: 2026-04-27 14:30:00+0000</p><p><b>author</b>: <code>org-ED-Metro-Hospital</code></p><p><b>description</b>: Pointer to an SMP collection Bundle for medication profile search and retrieval.</p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Url</b></td><td><b>Title</b></td><td><b>Creation</b></td></tr><tr><td style=\"display: none\">*</td><td>application/fhir+json</td><td><a href=\"https://example.org/fhir/Bundle/smp-bundle-1\">https://example.org/fhir/Bundle/smp-bundle-1</a></td><td>SMP Medication Collection Bundle</td><td>2026-04-27 14:30:00+0000</td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
fhir:system [
fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
fhir:l <urn:ietf:rfc:3986>     ] ;
fhir:value [ fhir:v "urn:uuid:7b47e07a-8f95-4eb6-a0a5-ef3f5c6518b1" ]
  ] ) ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:type [
    ( fhir:coding [
a loinc:70006-2 ;
fhir:system [
fhir:v "http://loinc.org"^^xsd:anyURI ;
fhir:l <http://loinc.org>       ] ;
fhir:code [ fhir:v "70006-2" ] ;
fhir:display [ fhir:v "Medication Management Note" ]     ] )
  ] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [
fhir:v "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category>       ] ;
fhir:code [ fhir:v "clinical-note" ] ;
fhir:display [ fhir:v "Clinical Note" ]     ] )
  ] ) ; # 
  fhir:subject [
fhir:l fhir:patient-betsysmith-johnson01 ;
fhir:reference [ fhir:v "patient-betsysmith-johnson01" ]
  ] ; # 
  fhir:date [ fhir:v "2026-04-27T14:30:00Z"^^xsd:dateTime] ; # 
  fhir:author ( [
fhir:l fhir:org-ED-Metro-Hospital ;
fhir:reference [ fhir:v "org-ED-Metro-Hospital" ]
  ] ) ; # 
  fhir:description [ fhir:v "Pointer to an SMP collection Bundle for medication profile search and retrieval."] ; # 
  fhir:content ( [
fhir:attachment [
fhir:contentType [ fhir:v "application/fhir+json" ] ;
fhir:url [
fhir:v "https://example.org/fhir/Bundle/smp-bundle-1"^^xsd:anyURI ;
fhir:l <https://example.org/fhir/Bundle/smp-bundle-1>       ] ;
fhir:title [ fhir:v "SMP Medication Collection Bundle" ] ;
fhir:creation [ fhir:v "2026-04-27T14:30:00Z"^^xsd:dateTime ]     ]
  ] ) . #