@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/Bundle/pharmacy-benefits-request-phi> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "pharmacy-benefits-request-phi"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-request-bundle|2.0.0-ballot" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-request-bundle|2.0.0-ballot>
     ]
  ] ;
  fhir:Bundle.type [ fhir:value "message"] ;
  fhir:Bundle.timestamp [ fhir:value "2026-10-20T14:00:00Z"^^xsd:dateTime] ;
  fhir:Bundle.entry [
     fhir:index 0 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://app.example.test/fhir/MessageHeader/phi-request" ] ;
     fhir:Bundle.entry.resource <https://app.example.test/fhir/MessageHeader/phi-request>
  ], [
     fhir:index 1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://app.example.test/fhir/Claim/phi-claim" ] ;
     fhir:Bundle.entry.resource <https://app.example.test/fhir/Claim/phi-claim>
  ], [
     fhir:index 2 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://app.example.test/fhir/Patient/phi-patient" ] ;
     fhir:Bundle.entry.resource <https://app.example.test/fhir/Patient/phi-patient>
  ], [
     fhir:index 3 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://app.example.test/fhir/Coverage/phi-coverage" ] ;
     fhir:Bundle.entry.resource <https://app.example.test/fhir/Coverage/phi-coverage>
  ], [
     fhir:index 4 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://app.example.test/fhir/MedicationRequest/phi-prescription" ] ;
     fhir:Bundle.entry.resource <https://app.example.test/fhir/MedicationRequest/phi-prescription>
  ], [
     fhir:index 5 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://app.example.test/fhir/Practitioner/phi-prescriber" ] ;
     fhir:Bundle.entry.resource <https://app.example.test/fhir/Practitioner/phi-prescriber>
  ], [
     fhir:index 6 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://app.example.test/fhir/Organization/phi-pharmacy" ] ;
     fhir:Bundle.entry.resource <https://app.example.test/fhir/Organization/phi-pharmacy>
  ] .

<https://app.example.test/fhir/MessageHeader/phi-request> a fhir:MessageHeader ;
  fhir:Resource.id [ fhir:value "phi-request"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-request-messageheader|2.0.0-ballot" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-request-messageheader|2.0.0-ballot>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MessageHeader_phi-request\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MessageHeader phi-request</b></p><a name=\"phi-request\"> </a><a name=\"hcphi-request\"> </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: <code>http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-request-messageheader|2.0.0-ballot</code></p></div><p><b>event</b>: rtpbc-event-type: rtpbc-request (RTPBC Request)</p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td>Example app</td><td><a href=\"https://app.example.test\">https://app.example.test</a></td></tr></table><p><b>focus</b>: <a href=\"Bundle-pharmacy-benefits-request-phi.html#Claim_phi-claim\">Claim: identifier = benefit-check-0001; status = active; type = Pharmacy; use = predetermination; created = 2026-10-20 14:00:00+0000; priority = Normal</a></p><p><b>definition</b>: <code>http://hl7.org/fhir/us/carin-rtpbc/MessageDefinition/rtpbc-request</code></p></div>"
  ] ;
  fhir:MessageHeader.eventCoding [
     fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-event-type" ] ;
     fhir:Coding.code [ fhir:value "rtpbc-request" ] ;
     fhir:Coding.display [ fhir:value "RTPBC Request" ]
  ] ;
  fhir:MessageHeader.source [
     fhir:MessageHeader.source.name [ fhir:value "Example app" ] ;
     fhir:MessageHeader.source.endpoint [ fhir:value "https://app.example.test" ]
  ] ;
  fhir:MessageHeader.focus [
     fhir:index 0 ;
     fhir:link <https://haau3.com/fhir/Claim/phi-claim> ;
     fhir:Reference.reference [ fhir:value "Claim/phi-claim" ]
  ] ;
  fhir:MessageHeader.definition [
     fhir:value "http://hl7.org/fhir/us/carin-rtpbc/MessageDefinition/rtpbc-request" ;
     fhir:link <http://hl7.org/fhir/us/carin-rtpbc/MessageDefinition/rtpbc-request>
  ] .

<https://app.example.test/fhir/Claim/phi-claim> a fhir:Claim ;
  fhir:Resource.id [ fhir:value "phi-claim"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-request-claim|2.0.0-ballot" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-request-claim|2.0.0-ballot>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Claim_phi-claim\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Claim phi-claim</b></p><a name=\"phi-claim\"> </a><a name=\"hcphi-claim\"> </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: <code>http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-request-claim|2.0.0-ballot</code></p></div><p><b>identifier</b>: benefit-check-0001</p><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/claim-type pharmacy}\">Pharmacy</span></p><p><b>use</b>: Predetermination</p><p><b>patient</b>: <a href=\"Bundle-pharmacy-benefits-request-phi.html#Patient_phi-patient\">Mei Lin  Female, DoB: 1958-03-14 ( https://app.example.test/patients#example-0001)</a></p><p><b>created</b>: 2026-10-20 14:00:00+0000</p><p><b>provider</b>: <a href=\"Bundle-pharmacy-benefits-request-phi.html#Organization_phi-pharmacy\">Example Pharmacy (Retail) (http://hl7.org/fhir/sid/us-npi#United States National Provider Identifier#2900000003)</a></p><p><b>priority</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/processpriority normal}\">Normal</span></p><p><b>prescription</b>: <a href=\"Bundle-pharmacy-benefits-request-phi.html#MedicationRequest_phi-prescription\">MedicationRequest: status = draft; intent = proposal; medication[x] = lisinopril 5 MG Oral Tablet; authoredOn = 2026-10-20</a></p><h3>CareTeams</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Sequence</b></td><td><b>Provider</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td><a href=\"Bundle-pharmacy-benefits-request-phi.html#Practitioner_phi-prescriber\">Ada Okafor (http://hl7.org/fhir/sid/us-npi#United States National Provider Identifier#2900000011)</a></td></tr></table><h3>Insurances</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Sequence</b></td><td><b>Focal</b></td><td><b>Coverage</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>true</td><td><a href=\"Bundle-pharmacy-benefits-request-phi.html#Coverage_phi-coverage\">Coverage: status = active; subscriberId = EX0000001; relationship = Self</a></td></tr></table><h3>Items</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Sequence</b></td><td><b>CareTeamSequence</b></td><td><b>ProductOrService</b></td><td><b>Quantity</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>1</td><td><span title=\"Codes:{http://www.nlm.nih.gov/research/umls/rxnorm 311354}\">lisinopril 5 MG Oral Tablet</span></td><td>30 {Each}<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code{Each} = '{Each}')</span></td></tr></table></div>"
  ] ;
  fhir:Claim.identifier [
     fhir:index 0 ;
     fhir:Identifier.value [ fhir:value "benefit-check-0001" ]
  ] ;
  fhir:Claim.status [ fhir:value "active"] ;
  fhir:Claim.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/claim-type" ] ;
       fhir:Coding.code [ fhir:value "pharmacy" ] ;
       fhir:Coding.display [ fhir:value "Pharmacy" ]
     ]
  ] ;
  fhir:Claim.use [ fhir:value "predetermination"] ;
  fhir:Claim.patient [
     fhir:link <https://haau3.com/fhir/Patient/phi-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/phi-patient" ]
  ] ;
  fhir:Claim.created [ fhir:value "2026-10-20T14:00:00Z"^^xsd:dateTime] ;
  fhir:Claim.provider [
     fhir:link <https://haau3.com/fhir/Organization/phi-pharmacy> ;
     fhir:Reference.reference [ fhir:value "Organization/phi-pharmacy" ]
  ] ;
  fhir:Claim.priority [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/processpriority" ] ;
       fhir:Coding.code [ fhir:value "normal" ] ;
       fhir:Coding.display [ fhir:value "Normal" ]
     ]
  ] ;
  fhir:Claim.prescription [
     fhir:link <https://haau3.com/fhir/MedicationRequest/phi-prescription> ;
     fhir:Reference.reference [ fhir:value "MedicationRequest/phi-prescription" ]
  ] ;
  fhir:Claim.careTeam [
     fhir:index 0 ;
     fhir:Claim.careTeam.sequence [ fhir:value "1"^^xsd:positiveInteger ] ;
     fhir:Claim.careTeam.provider [
       fhir:link <https://haau3.com/fhir/Practitioner/phi-prescriber> ;
       fhir:Reference.reference [ fhir:value "Practitioner/phi-prescriber" ]
     ]
  ] ;
  fhir:Claim.insurance [
     fhir:index 0 ;
     fhir:Claim.insurance.sequence [ fhir:value "1"^^xsd:positiveInteger ] ;
     fhir:Claim.insurance.focal [ fhir:value "true"^^xsd:boolean ] ;
     fhir:Claim.insurance.coverage [
       fhir:link <https://haau3.com/fhir/Coverage/phi-coverage> ;
       fhir:Reference.reference [ fhir:value "Coverage/phi-coverage" ]
     ]
  ] ;
  fhir:Claim.item [
     fhir:index 0 ;
     fhir:Claim.item.sequence [ fhir:value "1"^^xsd:positiveInteger ] ;
     fhir:Claim.item.careTeamSequence [
       fhir:value "1"^^xsd:positiveInteger ;
       fhir:index 0
     ] ;
     fhir:Claim.item.productOrService [
       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:Claim.item.quantity [
       fhir:Quantity.value [ fhir:value "30"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "{Each}" ] ;
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Quantity.code [ fhir:value "{Each}" ]
     ]
  ] .

<https://app.example.test/fhir/Patient/phi-patient> a fhir:Patient ;
  fhir:Resource.id [ fhir:value "phi-patient"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-patient|2.0.0-ballot" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-patient|2.0.0-ballot>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_phi-patient\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient phi-patient</b></p><a name=\"phi-patient\"> </a><a name=\"hcphi-patient\"> </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: <code>http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-patient|2.0.0-ballot</code></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Mei Lin  Female, DoB: 1958-03-14 ( https://app.example.test/patients#example-0001)</p><hr/></div>"
  ] ;
  fhir:Patient.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://app.example.test/patients" ] ;
     fhir:Identifier.value [ fhir:value "example-0001" ]
  ] ;
  fhir:Patient.name [
     fhir:index 0 ;
     fhir:HumanName.family [ fhir:value "Lin" ] ;
     fhir:HumanName.given [
       fhir:value "Mei" ;
       fhir:index 0
     ]
  ] ;
  fhir:Patient.gender [ fhir:value "female"] ;
  fhir:Patient.birthDate [ fhir:value "1958-03-14"^^xsd:date] .

<https://app.example.test/fhir/Coverage/phi-coverage> a fhir:Coverage ;
  fhir:Resource.id [ fhir:value "phi-coverage"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-coverage|2.0.0-ballot" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-coverage|2.0.0-ballot>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Coverage_phi-coverage\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Coverage phi-coverage</b></p><a name=\"phi-coverage\"> </a><a name=\"hcphi-coverage\"> </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: <code>http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-coverage|2.0.0-ballot</code></p></div><p><b>status</b>: Active</p><p><b>subscriberId</b>: EX0000001</p><p><b>beneficiary</b>: <a href=\"Bundle-pharmacy-benefits-request-phi.html#Patient_phi-patient\">Mei Lin  Female, DoB: 1958-03-14 ( https://app.example.test/patients#example-0001)</a></p><p><b>relationship</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/subscriber-relationship self}\">Self</span></p><p><b>payor</b>: Example Health Plan (Identifier: <code>https://payers.example.test</code>/EXAMPLE-PAYER)</p><blockquote><p><b>class</b></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/coverage-class rxbin}\">RX BIN</span></p><p><b>value</b>: 000000</p></blockquote><blockquote><p><b>class</b></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/coverage-class rxpcn}\">RX PCN</span></p><p><b>value</b>: EXAMPLE</p></blockquote><blockquote><p><b>class</b></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/coverage-class rxgroup}\">RX Group</span></p><p><b>value</b>: EXGROUP01</p></blockquote><blockquote><p><b>class</b></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/coverage-class rxid}\">RX Id</span></p><p><b>value</b>: EX0000001</p></blockquote></div>"
  ] ;
  fhir:Coverage.status [ fhir:value "active"] ;
  fhir:Coverage.subscriberId [ fhir:value "EX0000001"] ;
  fhir:Coverage.beneficiary [
     fhir:link <https://haau3.com/fhir/Patient/phi-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/phi-patient" ]
  ] ;
  fhir:Coverage.relationship [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/subscriber-relationship" ] ;
       fhir:Coding.code [ fhir:value "self" ]
     ]
  ] ;
  fhir:Coverage.payor [
     fhir:index 0 ;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://payers.example.test" ] ;
       fhir:Identifier.value [ fhir:value "EXAMPLE-PAYER" ]
     ] ;
     fhir:Reference.display [ fhir:value "Example Health Plan" ]
  ] ;
  fhir:Coverage.class [
     fhir:index 0 ;
     fhir:Coverage.class.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/coverage-class" ] ;
         fhir:Coding.code [ fhir:value "rxbin" ]
       ]
     ] ;
     fhir:Coverage.class.value [ fhir:value "000000" ]
  ], [
     fhir:index 1 ;
     fhir:Coverage.class.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/coverage-class" ] ;
         fhir:Coding.code [ fhir:value "rxpcn" ]
       ]
     ] ;
     fhir:Coverage.class.value [ fhir:value "EXAMPLE" ]
  ], [
     fhir:index 2 ;
     fhir:Coverage.class.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/coverage-class" ] ;
         fhir:Coding.code [ fhir:value "rxgroup" ]
       ]
     ] ;
     fhir:Coverage.class.value [ fhir:value "EXGROUP01" ]
  ], [
     fhir:index 3 ;
     fhir:Coverage.class.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/coverage-class" ] ;
         fhir:Coding.code [ fhir:value "rxid" ]
       ]
     ] ;
     fhir:Coverage.class.value [ fhir:value "EX0000001" ]
  ] .

<https://app.example.test/fhir/MedicationRequest/phi-prescription> a fhir:MedicationRequest ;
  fhir:Resource.id [ fhir:value "phi-prescription"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-medicationrequest|2.0.0-ballot" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-medicationrequest|2.0.0-ballot>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationRequest_phi-prescription\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest phi-prescription</b></p><a name=\"phi-prescription\"> </a><a name=\"hcphi-prescription\"> </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: <code>http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-medicationrequest|2.0.0-ballot</code></p></div><p><b>status</b>: Draft</p><p><b>intent</b>: Proposal</p><p><b>medication</b>: <span title=\"Codes:{http://www.nlm.nih.gov/research/umls/rxnorm 311354}\">lisinopril 5 MG Oral Tablet</span></p><p><b>subject</b>: <a href=\"Bundle-pharmacy-benefits-request-phi.html#Patient_phi-patient\">Mei Lin  Female, DoB: 1958-03-14 ( https://app.example.test/patients#example-0001)</a></p><p><b>authoredOn</b>: 2026-10-20</p><p><b>requester</b>: <a href=\"Bundle-pharmacy-benefits-request-phi.html#Practitioner_phi-prescriber\">Ada Okafor (http://hl7.org/fhir/sid/us-npi#United States National Provider Identifier#2900000011)</a></p><blockquote><p><b>dispenseRequest</b></p><p><b>quantity</b>: 30 {Each}<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code{Each} = '{Each}')</span></p><h3>ExpectedSupplyDurations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Unit</b></td><td><b>System</b></td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>30</td><td>days</td><td><a href=\"http://hl7.org/fhir/uv/xver-r5.r4/0.1.0/CodeSystem-v3-ucum.html\">http://unitsofmeasure.org</a></td><td>d</td></tr></table><p><b>performer</b>: <a href=\"Bundle-pharmacy-benefits-request-phi.html#Organization_phi-pharmacy\">Example Pharmacy (Retail) (http://hl7.org/fhir/sid/us-npi#United States National Provider Identifier#2900000003)</a></p></blockquote><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Allowed[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>true</td></tr></table></div>"
  ] ;
  fhir:MedicationRequest.status [ fhir:value "draft"] ;
  fhir:MedicationRequest.intent [ fhir:value "proposal"] ;
  fhir:MedicationRequest.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:MedicationRequest.subject [
     fhir:link <https://haau3.com/fhir/Patient/phi-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/phi-patient" ]
  ] ;
  fhir:MedicationRequest.authoredOn [ fhir:value "2026-10-20"^^xsd:date] ;
  fhir:MedicationRequest.requester [
     fhir:link <https://haau3.com/fhir/Practitioner/phi-prescriber> ;
     fhir:Reference.reference [ fhir:value "Practitioner/phi-prescriber" ]
  ] ;
  fhir:MedicationRequest.dispenseRequest [
     fhir:MedicationRequest.dispenseRequest.quantity [
       fhir:Quantity.value [ fhir:value "30"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "{Each}" ] ;
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Quantity.code [ fhir:value "{Each}" ]
     ] ;
     fhir:MedicationRequest.dispenseRequest.expectedSupplyDuration [
       fhir:Quantity.value [ fhir:value "30"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "days" ] ;
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Quantity.code [ fhir:value "d" ]
     ] ;
     fhir:MedicationRequest.dispenseRequest.performer [
       fhir:link <https://haau3.com/fhir/Organization/phi-pharmacy> ;
       fhir:Reference.reference [ fhir:value "Organization/phi-pharmacy" ]
     ]
  ] ;
  fhir:MedicationRequest.substitution [
     fhir:MedicationRequest.substitution.allowedBoolean [ fhir:value "true"^^xsd:boolean ]
  ] .

<https://app.example.test/fhir/Practitioner/phi-prescriber> a fhir:Practitioner ;
  fhir:Resource.id [ fhir:value "phi-prescriber"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|8.0.1" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|8.0.1>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_phi-prescriber\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner phi-prescriber</b></p><a name=\"phi-prescriber\"> </a><a name=\"hcphi-prescriber\"> </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: <code>http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|8.0.1</code></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Ada Okafor (http://hl7.org/fhir/sid/us-npi#United States National Provider Identifier#2900000011)</p><hr/></div>"
  ] ;
  fhir:Practitioner.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/sid/us-npi" ] ;
     fhir:Identifier.value [ fhir:value "2900000011" ]
  ] ;
  fhir:Practitioner.name [
     fhir:index 0 ;
     fhir:HumanName.family [ fhir:value "Okafor" ] ;
     fhir:HumanName.given [
       fhir:value "Ada" ;
       fhir:index 0
     ] ;
     fhir:HumanName.suffix [
       fhir:value "MD" ;
       fhir:index 0
     ]
  ] .

<https://app.example.test/fhir/Organization/phi-pharmacy> a fhir:Organization ;
  fhir:Resource.id [ fhir:value "phi-pharmacy"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-pharmacy-organization|2.0.0-ballot" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-pharmacy-organization|2.0.0-ballot>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_phi-pharmacy\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization phi-pharmacy</b></p><a name=\"phi-pharmacy\"> </a><a name=\"hcphi-pharmacy\"> </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: <code>http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-pharmacy-organization|2.0.0-ballot</code></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Example Pharmacy (Retail) (http://hl7.org/fhir/sid/us-npi#United States National Provider Identifier#2900000003)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The kind(s) of organization that this is\">Type:</td><td colspan=\"3\"><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/NCPDPPharmacyType R}\">Retail</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the organization\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 305-555-0100</li><li>100 Example Street Miami FL 33131 US </li></ul></td></tr></table></div>"
  ] ;
  fhir:Organization.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/sid/us-npi" ] ;
     fhir:Identifier.value [ fhir:value "2900000003" ]
  ] ;
  fhir:Organization.active [ fhir:value "true"^^xsd:boolean] ;
  fhir:Organization.type [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/NCPDPPharmacyType" ] ;
       fhir:Coding.code [ fhir:value "R" ] ;
       fhir:Coding.display [ fhir:value "Retail" ]
     ]
  ] ;
  fhir:Organization.name [ fhir:value "Example Pharmacy"] ;
  fhir:Organization.telecom [
     fhir:index 0 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "305-555-0100" ]
  ] ;
  fhir:Organization.address [
     fhir:index 0 ;
     fhir:Address.line [
       fhir:value "100 Example Street" ;
       fhir:index 0
     ] ;
     fhir:Address.city [ fhir:value "Miami" ] ;
     fhir:Address.state [ fhir:value "FL" ] ;
     fhir:Address.postalCode [ fhir:value "33131" ] ;
     fhir:Address.country [ fhir:value "US" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://haau3.com/fhir/Bundle/pharmacy-benefits-request-phi.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

