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-tx-2 - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@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/Bundle/smp-bundle-tx-2> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "smp-bundle-tx-2"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/smp/StructureDefinition/smp-bundle-transaction" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/smp/StructureDefinition/smp-bundle-transaction>
     ]
  ] ;
  fhir:Bundle.type [ fhir:value "transaction"] ;
  fhir:Bundle.entry [
     fhir:index 0 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d" ] ;
     fhir:Bundle.entry.resource <urn:uuid:1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "List" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:7b8c9d0e-1f2a-3b4c-5d6e-7f8a9b0c1d2e" ] ;
     fhir:Bundle.entry.resource <urn:uuid:7b8c9d0e-1f2a-3b4c-5d6e-7f8a9b0c1d2e> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "MedicationStatement" ]
     ]
  ], [
     fhir:index 2 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:8c9d0e1f-2a3b-4c5d-6e7f-8a9b0c1d2e3f" ] ;
     fhir:Bundle.entry.resource <urn:uuid:8c9d0e1f-2a3b-4c5d-6e7f-8a9b0c1d2e3f> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "List" ]
     ]
  ], [
     fhir:index 3 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:9d0e1f2a-3b4c-5d6e-7f8a-9b0c1d2e3f4a" ] ;
     fhir:Bundle.entry.resource <urn:uuid:9d0e1f2a-3b4c-5d6e-7f8a-9b0c1d2e3f4a> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "MedicationStatement" ]
     ]
  ], [
     fhir:index 4 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:0e1f2a3b-4c5d-6e7f-8a9b-0c1d2e3f4a5b" ] ;
     fhir:Bundle.entry.resource <urn:uuid:0e1f2a3b-4c5d-6e7f-8a9b-0c1d2e3f4a5b> ;
     fhir:Bundle.entry.request [
       fhir:Bundle.entry.request.method [ fhir:value "POST" ] ;
       fhir:Bundle.entry.request.url [ fhir:value "MedicationStatement" ]
     ]
  ] .

<urn:uuid:1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d> a fhir:List ;
  fhir:Resource.id [ fhir:value "smp-medlist-admission"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/smp/StructureDefinition/smp-medication-list" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/smp/StructureDefinition/smp-medication-list>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"List_smp-medlist-admission\"> </a>Hospital admission medication list</div>"
  ] ;
  fhir:List.status [ fhir:value "current"] ;
  fhir:List.mode [ fhir:value "working"] ;
  fhir:List.title [ fhir:value "Hospital Admission Medication List"] ;
  fhir:List.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:104207-6 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "104207-6" ] ;
       fhir:Coding.display [ fhir:value "Medication administration list [Identifier] Episode Pharmacy" ]
     ]
  ] ;
  fhir:List.subject [
     fhir:link <http://hl7.org/fhir/Patient/example> ;
     fhir:Reference.reference [ fhir:value "Patient/example" ] ;
     fhir:Reference.display [ fhir:value "US Core Example Patient" ]
  ] ;
  fhir:List.date [ fhir:value "2024-07-01"^^xsd:date] ;
  fhir:List.source [
     fhir:link <http://hl7.org/fhir/Practitioner/practitioner-1> ;
     fhir:Reference.reference [ fhir:value "Practitioner/practitioner-1" ]
  ] ;
  fhir:List.entry [
     fhir:index 0 ;
     fhir:List.entry.date [ fhir:value "2024-07-01"^^xsd:date ] ;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:7b8c9d0e-1f2a-3b4c-5d6e-7f8a9b0c1d2e" ]
     ]
  ] .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

<http://hl7.org/fhir/Practitioner/practitioner-1> a fhir:Practitioner .

<urn:uuid:7b8c9d0e-1f2a-3b4c-5d6e-7f8a9b0c1d2e> a fhir:MedicationStatement ;
  fhir:Resource.id [ fhir:value "smp-medstmt-admission-1"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/smp/StructureDefinition/smp-medicationstatement" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/smp/StructureDefinition/smp-medicationstatement>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationStatement_smp-medstmt-admission-1\"> </a>Metformin from admission list</div>"
  ] ;
  fhir:MedicationStatement.status [ fhir:value "active"] ;
  fhir:MedicationStatement.medicationCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ] ;
       fhir:Coding.code [ fhir:value "428759" ] ;
       fhir:Coding.display [ fhir:value "metformin 250 MG Oral Tablet" ]
     ]
  ] ;
  fhir:MedicationStatement.subject [
     fhir:link <http://hl7.org/fhir/Patient/example> ;
     fhir:Reference.reference [ fhir:value "Patient/example" ] ;
     fhir:Reference.display [ fhir:value "US Core Example Patient" ]
  ] ;
  fhir:MedicationStatement.effectiveDateTime [ fhir:value "2024-06-01"^^xsd:date] ;
  fhir:MedicationStatement.dateAsserted [ fhir:value "2024-07-01"^^xsd:date] ;
  fhir:MedicationStatement.reasonCode [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:359642000 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "359642000" ] ;
       fhir:Coding.display [ fhir:value "Diabetes mellitus type 2 in nonobese (disorder)" ]
     ]
  ] ;
  fhir:MedicationStatement.dosage [
     fhir:index 0 ;
     fhir:Dosage.sequence [ fhir:value "1"^^xsd:integer ] ;
     fhir:Dosage.text [ fhir:value "po daily" ]
  ] .

<urn:uuid:8c9d0e1f-2a3b-4c5d-6e7f-8a9b0c1d2e3f> a fhir:List ;
  fhir:Resource.id [ fhir:value "smp-medlist-discharge"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/smp/StructureDefinition/smp-medication-list" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/smp/StructureDefinition/smp-medication-list>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"List_smp-medlist-discharge\"> </a>Hospital discharge medication list</div>"
  ] ;
  fhir:List.status [ fhir:value "current"] ;
  fhir:List.mode [ fhir:value "working"] ;
  fhir:List.title [ fhir:value "Hospital Discharge Medication List"] ;
  fhir:List.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:104208-4 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "104208-4" ] ;
       fhir:Coding.display [ fhir:value "Medication list for public health AndOr CDC reporting [Identifier] Episode Pharmacy" ]
     ]
  ] ;
  fhir:List.subject [
     fhir:link <http://hl7.org/fhir/Patient/example> ;
     fhir:Reference.reference [ fhir:value "Patient/example" ] ;
     fhir:Reference.display [ fhir:value "US Core Example Patient" ]
  ] ;
  fhir:List.date [ fhir:value "2024-07-10"^^xsd:date] ;
  fhir:List.source [
     fhir:link <http://hl7.org/fhir/Practitioner/practitioner-1> ;
     fhir:Reference.reference [ fhir:value "Practitioner/practitioner-1" ]
  ] ;
  fhir:List.entry [
     fhir:index 0 ;
     fhir:List.entry.date [ fhir:value "2024-07-10"^^xsd:date ] ;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:9d0e1f2a-3b4c-5d6e-7f8a-9b0c1d2e3f4a" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:List.entry.date [ fhir:value "2024-07-10"^^xsd:date ] ;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "urn:uuid:0e1f2a3b-4c5d-6e7f-8a9b-0c1d2e3f4a5b" ]
     ]
  ] .

<urn:uuid:9d0e1f2a-3b4c-5d6e-7f8a-9b0c1d2e3f4a> a fhir:MedicationStatement ;
  fhir:Resource.id [ fhir:value "smp-medstmt-discharge-1"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/smp/StructureDefinition/smp-medicationstatement" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/smp/StructureDefinition/smp-medicationstatement>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationStatement_smp-medstmt-discharge-1\"> </a>Metformin continued on discharge</div>"
  ] ;
  fhir:MedicationStatement.status [ fhir:value "active"] ;
  fhir:MedicationStatement.medicationCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ] ;
       fhir:Coding.code [ fhir:value "428759" ] ;
       fhir:Coding.display [ fhir:value "metformin 250 MG Oral Tablet" ]
     ]
  ] ;
  fhir:MedicationStatement.subject [
     fhir:link <http://hl7.org/fhir/Patient/example> ;
     fhir:Reference.reference [ fhir:value "Patient/example" ] ;
     fhir:Reference.display [ fhir:value "US Core Example Patient" ]
  ] ;
  fhir:MedicationStatement.effectiveDateTime [ fhir:value "2024-06-01"^^xsd:date] ;
  fhir:MedicationStatement.dateAsserted [ fhir:value "2024-07-10"^^xsd:date] ;
  fhir:MedicationStatement.reasonCode [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:359642000 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "359642000" ] ;
       fhir:Coding.display [ fhir:value "Diabetes mellitus type 2 in nonobese (disorder)" ]
     ]
  ] ;
  fhir:MedicationStatement.dosage [
     fhir:index 0 ;
     fhir:Dosage.sequence [ fhir:value "1"^^xsd:integer ] ;
     fhir:Dosage.text [ fhir:value "po daily" ]
  ] .

<urn:uuid:0e1f2a3b-4c5d-6e7f-8a9b-0c1d2e3f4a5b> a fhir:MedicationStatement ;
  fhir:Resource.id [ fhir:value "smp-medstmt-discharge-2"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/smp/StructureDefinition/smp-medicationstatement" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/smp/StructureDefinition/smp-medicationstatement>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationStatement_smp-medstmt-discharge-2\"> </a>Atorvastatin added on discharge</div>"
  ] ;
  fhir:MedicationStatement.status [ fhir:value "active"] ;
  fhir:MedicationStatement.medicationCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ] ;
       fhir:Coding.code [ fhir:value "597983" ] ;
       fhir:Coding.display [ fhir:value "atorvastatin 40 MG" ]
     ]
  ] ;
  fhir:MedicationStatement.subject [
     fhir:link <http://hl7.org/fhir/Patient/example> ;
     fhir:Reference.reference [ fhir:value "Patient/example" ] ;
     fhir:Reference.display [ fhir:value "US Core Example Patient" ]
  ] ;
  fhir:MedicationStatement.effectiveDateTime [ fhir:value "2024-07-10"^^xsd:date] ;
  fhir:MedicationStatement.dateAsserted [ fhir:value "2024-07-10"^^xsd:date] ;
  fhir:MedicationStatement.reasonCode [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:55822004 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "55822004" ] ;
       fhir:Coding.display [ fhir:value "Hyperlipidemia (disorder)" ]
     ]
  ] ;
  fhir:MedicationStatement.dosage [
     fhir:index 0 ;
     fhir:Dosage.sequence [ fhir:value "1"^^xsd:integer ] ;
     fhir:Dosage.text [ fhir:value "po qd" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Bundle/smp-bundle-tx-2.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Bundle/smp-bundle-tx-2.ttl> .