Spenser - a developer's companion, published by Zeora. 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/costateixeira/spenser/tree/master and changes regularly. See the Directory of published versions
: Example - Spenser Request - TTL Representation
Raw ttl | Download
@prefix fhir: <http://hl7.org/fhir/> .
@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:MedicationRequest ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "med-request-1234"] ; #
fhir:meta [
( fhir:profile [
fhir:v "http://costateixeira.github.io/spenser/StructureDefinition/SpenserRequest"^^xsd:anyURI ;
fhir:link <http://costateixeira.github.io/spenser/StructureDefinition/SpenserRequest> ] )
] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest med-request-1234</b></p><a name=\"med-request-1234\"> </a><a name=\"hcmed-request-1234\"> </a><a name=\"med-request-1234-en-US\"> </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-SpenserRequest.html\">SpenserRequest</a></p></div><p><b>status</b>: Active</p><p><b>intent</b>: Instance Order</p><h3>Medications</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Concept</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://costateixeira.github.io/spenser/CodeSystem/SpenserMeds chocolate-milk}\">Milk chocolate</span></td></tr></table><p><b>subject</b>: <a href=\"Patient/123\">Patient/123</a></p><h3>DosageInstructions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Text</b></td></tr><tr><td style=\"display: none\">*</td><td>Just take it.</td></tr></table></div>"^^rdf:XMLLiteral
] ; #
fhir:status [ fhir:v "active"] ; #
fhir:intent [ fhir:v "instance-order"] ; #
fhir:medication [
fhir:concept [
( fhir:coding [
fhir:system [ fhir:v "http://costateixeira.github.io/spenser/CodeSystem/SpenserMeds"^^xsd:anyURI ] ;
fhir:code [ fhir:v "chocolate-milk" ] ;
fhir:display [ fhir:v "Milk chocolate" ] ] ) ]
] ; #
fhir:subject [
fhir:reference [ fhir:v "Patient/123" ]
] ; #
fhir:dosageInstruction ( [
fhir:text [ fhir:v "Just take it." ]
] ) . #