@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 -------------------------------------------------------------------

<https://haau3.com/fhir/Parameters/medlist-request-parameters> a fhir:Parameters ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "medlist-request-parameters"] ;
  fhir:Parameters.parameter [
     fhir:index 0 ;
     fhir:Parameters.parameter.name [ fhir:value "resource" ] ;
     fhir:Parameters.parameter.resource [
       a fhir:MedicationStatement ;
       fhir:Resource.id [ fhir:value "lisinopril-statement" ] ;
       fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>lisinopril 5 mg tablet, 5 mg once daily. Reported by the patient, asserted 2026-09-05.</p></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 "311354" ] ;
           fhir:Coding.display [ fhir:value "lisinopril 5 MG Oral Tablet" ]
         ] ;
         fhir:CodeableConcept.text [ fhir:value "lisinopril 5 mg tablet" ]
       ] ;
       fhir:MedicationStatement.subject [
         fhir:link <http://example.org/fhir/Patient/example> ;
         fhir:Reference.reference [ fhir:value "http://example.org/fhir/Patient/example" ]
       ] ;
       fhir:MedicationStatement.dateAsserted [ fhir:value "2026-09-05"^^xsd:date ] ;
       fhir:MedicationStatement.informationSource [
         fhir:link <http://example.org/fhir/Patient/example> ;
         fhir:Reference.reference [ fhir:value "http://example.org/fhir/Patient/example" ]
       ] ;
       fhir:MedicationStatement.dosage [
         fhir:index 0 ;
         fhir:Dosage.text [ fhir:value "5 mg once daily" ]
       ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Parameters.parameter.name [ fhir:value "asOf" ] ;
     fhir:Parameters.parameter.valueDateTime [ fhir:value "2026-09-20T00:00:00Z"^^xsd:dateTime ]
  ] .

# - ontology header ------------------------------------------------------------

<https://haau3.com/fhir/Parameters/medlist-request-parameters.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

