Consumer Real-Time Pharmacy Benefit Check FHIR IG
2.0.0 - STU 2 United States of America flag

Consumer Real-Time Pharmacy Benefit Check FHIR IG, published by HL7 International / Pharmacy. This guide is not an authorized publication; it is the continuous build for version 2.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/carin-rtpbc/ and changes regularly. See the Directory of published versions

: rtpbc-bundle-request-01

Raw ttl | Download

@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 -------------------------------------------------------------------

<http://hl7.org/fhir/Bundle/rtpbc-bundle-request-01> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "rtpbc-bundle-request-01"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-request-bundle" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-request-bundle>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:Bundle.type [ fhir:value "message"] ;
  fhir:Bundle.timestamp [ fhir:value "2026-11-01T13:00:03-05:00"^^xsd:dateTime] ;
  fhir:Bundle.entry [
     fhir:index -1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/my-app/MessageHeader/rtpbc-messageheader-request-01" ] ;
     fhir:Bundle.entry.resource <http://example.org/my-app/MessageHeader/rtpbc-messageheader-request-01>
  ], [
     fhir:index -1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/my-app/Claim/rtpbc-claim-01" ] ;
     fhir:Bundle.entry.resource <http://example.org/my-app/Claim/rtpbc-claim-01>
  ], [
     fhir:index -1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/my-app/Patient/rtpbc-patient-01" ] ;
     fhir:Bundle.entry.resource <http://example.org/my-app/Patient/rtpbc-patient-01>
  ], [
     fhir:index -1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/my-app/Coverage/rtpbc-coverage-01" ] ;
     fhir:Bundle.entry.resource <http://example.org/my-app/Coverage/rtpbc-coverage-01>
  ], [
     fhir:index -1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/my-app/MedicationRequest/rtpbc-medicationrequest-01" ] ;
     fhir:Bundle.entry.resource <http://example.org/my-app/MedicationRequest/rtpbc-medicationrequest-01>
  ], [
     fhir:index -1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/my-app/Practitioner/rtpbc-practitioner-01" ] ;
     fhir:Bundle.entry.resource <http://example.org/my-app/Practitioner/rtpbc-practitioner-01>
  ], [
     fhir:index -1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/my-app/Organization/rtpbc-organization-01" ] ;
     fhir:Bundle.entry.resource <http://example.org/my-app/Organization/rtpbc-organization-01>
  ] .

<http://example.org/my-app/MessageHeader/rtpbc-messageheader-request-01> a fhir:MessageHeader ;
  fhir:Resource.id [ fhir:value "rtpbc-messageheader-request-01"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-request-messageheader" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-request-messageheader>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MessageHeader_rtpbc-messageheader-request-01\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MessageHeader rtpbc-messageheader-request-01</b></p><a name=\"rtpbc-messageheader-request-01\"> </a><a name=\"hcrtpbc-messageheader-request-01\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-rtpbc-request-messageheader.html\">RTPBC Request MessageHeader</a></p></div><p><b>event</b>: <a href=\"CodeSystem-rtpbc-event-type.html#rtpbc-event-type-rtpbc-request\">RTPBC Event Type Code System: rtpbc-request</a> (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>my-app</td><td><a href=\"http://example.org/my-app\">http://example.org/my-app</a></td></tr></table><p><b>focus</b>: <a href=\"Bundle-rtpbc-bundle-request-01.html#http-//example.org/my-app/Claim/rtpbc-claim-01\">Claim: identifier = rtpbc-01; status = active; type = Pharmacy; use = predetermination; created = 2026-11-01 13:00:03-0500; priority = Normal</a></p><p><b>definition</b>: <a href=\"MessageDefinition-rtpbc-request.html\">RTPBC Request Message Definition</a></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 "my-app" ] ;
     fhir:MessageHeader.source.endpoint [ fhir:value "http://example.org/my-app" ]
  ] ;
  fhir:MessageHeader.focus [
     fhir:index -1 ;
     fhir:link <http://example.org/my-app/Claim/rtpbc-claim-01> ;
     fhir:Reference.reference [ fhir:value "http://example.org/my-app/Claim/rtpbc-claim-01" ]
  ] ;
  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>
  ] .

<http://example.org/my-app/Claim/rtpbc-claim-01> a fhir:Claim ;
  fhir:Resource.id [ fhir:value "rtpbc-claim-01"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-request-claim" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-request-claim>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Claim_rtpbc-claim-01\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Claim rtpbc-claim-01</b></p><a name=\"rtpbc-claim-01\"> </a><a name=\"hcrtpbc-claim-01\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-rtpbc-request-claim.html\">RTPBC Request Using Claim</a></p></div><p><b>identifier</b>: rtpbc-01</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=\"Patient-rtpbc-patient-01.html\">Jane Doe  Female, DoB: 1975-12-05 ( Patient internal identifier: 30455)</a></p><p><b>created</b>: 2026-11-01 13:00:03-0500</p><p><b>provider</b>: <a href=\"Organization-rtpbc-organization-01.html\">Hometown Drug (Retail) (http://hl7.org/fhir/sid/us-npi#United States National Provider Identifier#9876543213)</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=\"MedicationRequest-rtpbc-medicationrequest-01.html\">MedicationRequest: status = draft; intent = proposal; reported[x] = true; medication[x] = fluoxetine 10 MG Oral Capsule [Prozac]; authoredOn = 2019-11-01</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=\"Practitioner-rtpbc-practitioner-01.html\">Johnson (http://hl7.org/fhir/sid/us-npi#United States National Provider Identifier#1234567893)</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=\"Coverage-rtpbc-coverage-01.html\">Coverage: status = active; subscriberId = 121212; 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 205535}\">fluoxetine 10 MG Oral Capsule [Prozac]</span></td><td>60 {Each}</td></tr></table></div>"
  ] ;
  fhir:Claim.identifier [
     fhir:index -1 ;
     fhir:Identifier.value [ fhir:value "rtpbc-01" ]
  ] ;
  fhir:Claim.status [ fhir:value "active"] ;
  fhir:Claim.type [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       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 <http://hl7.org/fhir/Patient/rtpbc-patient-01> ;
     fhir:Reference.reference [ fhir:value "Patient/rtpbc-patient-01" ]
  ] ;
  fhir:Claim.created [ fhir:value "2026-11-01T13:00:03-05:00"^^xsd:dateTime] ;
  fhir:Claim.provider [
     fhir:link <http://hl7.org/fhir/Organization/rtpbc-organization-01> ;
     fhir:Reference.reference [ fhir:value "Organization/rtpbc-organization-01" ]
  ] ;
  fhir:Claim.priority [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       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 <http://hl7.org/fhir/MedicationRequest/rtpbc-medicationrequest-01> ;
     fhir:Reference.reference [ fhir:value "MedicationRequest/rtpbc-medicationrequest-01" ]
  ] ;
  fhir:Claim.careTeam [
     fhir:index -1 ;
     fhir:Claim.careTeam.sequence [ fhir:value "1"^^xsd:positiveInteger ] ;
     fhir:Claim.careTeam.provider [
       fhir:link <http://hl7.org/fhir/Practitioner/rtpbc-practitioner-01> ;
       fhir:Reference.reference [ fhir:value "Practitioner/rtpbc-practitioner-01" ]
     ]
  ] ;
  fhir:Claim.insurance [
     fhir:index -1 ;
     fhir:Claim.insurance.sequence [ fhir:value "1"^^xsd:positiveInteger ] ;
     fhir:Claim.insurance.focal [ fhir:value "true"^^xsd:boolean ] ;
     fhir:Claim.insurance.coverage [
       fhir:link <http://hl7.org/fhir/Coverage/rtpbc-coverage-01> ;
       fhir:Reference.reference [ fhir:value "Coverage/rtpbc-coverage-01" ]
     ]
  ] ;
  fhir:Claim.item [
     fhir:index -1 ;
     fhir:Claim.item.sequence [ fhir:value "1"^^xsd:positiveInteger ] ;
     fhir:Claim.item.careTeamSequence [
       fhir:value "1"^^xsd:positiveInteger ;
       fhir:index -1
     ] ;
     fhir:Claim.item.productOrService [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ] ;
         fhir:Coding.code [ fhir:value "205535" ] ;
         fhir:Coding.display [ fhir:value "fluoxetine 10 MG Oral Capsule [Prozac]" ]
       ]
     ] ;
     fhir:Claim.item.quantity [
       fhir:Quantity.value [ fhir:value "60"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "{Each}" ]
     ]
  ] .

<http://hl7.org/fhir/Patient/rtpbc-patient-01> a fhir:Patient .

<http://hl7.org/fhir/Organization/rtpbc-organization-01> a fhir:Organization .

<http://hl7.org/fhir/MedicationRequest/rtpbc-medicationrequest-01> a fhir:MedicationRequest .

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

<http://hl7.org/fhir/Coverage/rtpbc-coverage-01> a fhir:Coverage .

<http://example.org/my-app/Patient/rtpbc-patient-01> a fhir:Patient ;
  fhir:Resource.id [ fhir:value "rtpbc-patient-01"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-patient" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-patient>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_rtpbc-patient-01\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient rtpbc-patient-01</b></p><a name=\"rtpbc-patient-01\"> </a><a name=\"hcrtpbc-patient-01\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-rtpbc-patient.html\">RTPBC Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Jane Doe  Female, DoB: 1975-12-05 ( Patient internal identifier: 30455)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">100 Oak Court Madison WI 53510 US </td></tr></table></div>"
  ] ;
  fhir:Patient.identifier [
     fhir:index -1 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "PI" ] ;
         fhir:Coding.display [ fhir:value "Patient internal identifier" ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "Patient internal identifier" ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://example.org/my-app" ] ;
     fhir:Identifier.value [ fhir:value "30455" ]
  ] ;
  fhir:Patient.name [
     fhir:index -1 ;
     fhir:HumanName.family [ fhir:value "Doe" ] ;
     fhir:HumanName.given [
       fhir:value "Jane" ;
       fhir:index -1
     ]
  ] ;
  fhir:Patient.gender [ fhir:value "female"] ;
  fhir:Patient.birthDate [ fhir:value "1975-12-05"^^xsd:date] ;
  fhir:Patient.address [
     fhir:index -1 ;
     fhir:Address.line [
       fhir:value "100 Oak Court" ;
       fhir:index -1
     ] ;
     fhir:Address.city [ fhir:value "Madison" ] ;
     fhir:Address.state [ fhir:value "WI" ] ;
     fhir:Address.postalCode [ fhir:value "53510" ] ;
     fhir:Address.country [ fhir:value "US" ]
  ] .

<http://example.org/my-app/Coverage/rtpbc-coverage-01> a fhir:Coverage ;
  fhir:Resource.id [ fhir:value "rtpbc-coverage-01"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-coverage" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-coverage>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Coverage_rtpbc-coverage-01\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Coverage rtpbc-coverage-01</b></p><a name=\"rtpbc-coverage-01\"> </a><a name=\"hcrtpbc-coverage-01\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-rtpbc-coverage.html\">RTPBC Coverage</a></p></div><p><b>status</b>: Active</p><p><b>subscriberId</b>: 121212</p><p><b>beneficiary</b>: <a href=\"Patient-rtpbc-patient-01.html\">Jane Doe  Female, DoB: 1975-12-05 ( Patient internal identifier: 30455)</a></p><p><b>relationship</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/subscriber-relationship self}\">Self</span></p><p><b>payor</b>: Identifier: Pharmacy Plans US</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>: BIN001</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>: PCN002</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>: GROUP0001</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>: MEMBER000001</p></blockquote></div>"
  ] ;
  fhir:Coverage.status [ fhir:value "active"] ;
  fhir:Coverage.subscriberId [ fhir:value "121212"] ;
  fhir:Coverage.beneficiary [
     fhir:link <http://hl7.org/fhir/Patient/rtpbc-patient-01> ;
     fhir:Reference.reference [ fhir:value "Patient/rtpbc-patient-01" ]
  ] ;
  fhir:Coverage.relationship [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/subscriber-relationship" ] ;
       fhir:Coding.code [ fhir:value "self" ]
     ]
  ] ;
  fhir:Coverage.payor [
     fhir:index -1 ;
     fhir:Reference.identifier [
       fhir:Identifier.value [ fhir:value "Pharmacy Plans US" ]
     ]
  ] ;
  fhir:Coverage.class [
     fhir:index -1 ;
     fhir:Coverage.class.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/coverage-class" ] ;
         fhir:Coding.code [ fhir:value "rxbin" ]
       ]
     ] ;
     fhir:Coverage.class.value [ fhir:value "BIN001" ]
  ], [
     fhir:index -1 ;
     fhir:Coverage.class.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/coverage-class" ] ;
         fhir:Coding.code [ fhir:value "rxpcn" ]
       ]
     ] ;
     fhir:Coverage.class.value [ fhir:value "PCN002" ]
  ], [
     fhir:index -1 ;
     fhir:Coverage.class.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/coverage-class" ] ;
         fhir:Coding.code [ fhir:value "rxgroup" ]
       ]
     ] ;
     fhir:Coverage.class.value [ fhir:value "GROUP0001" ]
  ], [
     fhir:index -1 ;
     fhir:Coverage.class.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/coverage-class" ] ;
         fhir:Coding.code [ fhir:value "rxid" ]
       ]
     ] ;
     fhir:Coverage.class.value [ fhir:value "MEMBER000001" ]
  ] .

<http://example.org/my-app/MedicationRequest/rtpbc-medicationrequest-01> a fhir:MedicationRequest ;
  fhir:Resource.id [ fhir:value "rtpbc-medicationrequest-01"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-medicationrequest" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-medicationrequest>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationRequest_rtpbc-medicationrequest-01\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest rtpbc-medicationrequest-01</b></p><a name=\"rtpbc-medicationrequest-01\"> </a><a name=\"hcrtpbc-medicationrequest-01\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-rtpbc-medicationrequest.html\">RTPBC Medication Request</a></p></div><p><b>status</b>: Draft</p><p><b>intent</b>: Proposal</p><p><b>reported</b>: true</p><p><b>medication</b>: <span title=\"Codes:{http://www.nlm.nih.gov/research/umls/rxnorm 205535}\">fluoxetine 10 MG Oral Capsule [Prozac]</span></p><p><b>subject</b>: <a href=\"Patient-rtpbc-patient-01.html\">Jane Doe  Female, DoB: 1975-12-05 ( Patient internal identifier: 30455)</a></p><p><b>authoredOn</b>: 2019-11-01</p><p><b>requester</b>: <a href=\"Practitioner-rtpbc-practitioner-01.html\">Johnson (http://hl7.org/fhir/sid/us-npi#United States National Provider Identifier#1234567893)</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>Take 2 capsules once a day</td></tr></table><blockquote><p><b>dispenseRequest</b></p><p><b>quantity</b>: 60 each<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code1 = '1')</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=\"Organization-rtpbc-organization-01.html\">Hometown Drug (Retail) (http://hl7.org/fhir/sid/us-npi#United States National Provider Identifier#9876543213)</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>false</td></tr></table></div>"
  ] ;
  fhir:MedicationRequest.status [ fhir:value "draft"] ;
  fhir:MedicationRequest.intent [ fhir:value "proposal"] ;
  fhir:MedicationRequest.reportedBoolean [ fhir:value "true"^^xsd:boolean] ;
  fhir:MedicationRequest.medicationCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ] ;
       fhir:Coding.code [ fhir:value "205535" ] ;
       fhir:Coding.display [ fhir:value "fluoxetine 10 MG Oral Capsule [Prozac]" ]
     ]
  ] ;
  fhir:MedicationRequest.subject [
     fhir:link <http://hl7.org/fhir/Patient/rtpbc-patient-01> ;
     fhir:Reference.reference [ fhir:value "Patient/rtpbc-patient-01" ]
  ] ;
  fhir:MedicationRequest.authoredOn [ fhir:value "2019-11-01"^^xsd:date] ;
  fhir:MedicationRequest.requester [
     fhir:link <http://hl7.org/fhir/Practitioner/rtpbc-practitioner-01> ;
     fhir:Reference.reference [ fhir:value "Practitioner/rtpbc-practitioner-01" ]
  ] ;
  fhir:MedicationRequest.dosageInstruction [
     fhir:index -1 ;
     fhir:Dosage.text [ fhir:value "Take 2 capsules once a day" ]
  ] ;
  fhir:MedicationRequest.dispenseRequest [
     fhir:MedicationRequest.dispenseRequest.quantity [
       fhir:Quantity.value [ fhir:value "60"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "each" ] ;
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Quantity.code [ fhir:value "1" ]
     ] ;
     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 <http://hl7.org/fhir/Organization/rtpbc-organization-01> ;
       fhir:Reference.reference [ fhir:value "Organization/rtpbc-organization-01" ]
     ]
  ] ;
  fhir:MedicationRequest.substitution [
     fhir:MedicationRequest.substitution.allowedBoolean [ fhir:value "false"^^xsd:boolean ]
  ] .

<http://example.org/my-app/Practitioner/rtpbc-practitioner-01> a fhir:Practitioner ;
  fhir:Resource.id [ fhir:value "rtpbc-practitioner-01"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_rtpbc-practitioner-01\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner rtpbc-practitioner-01</b></p><a name=\"rtpbc-practitioner-01\"> </a><a name=\"hcrtpbc-practitioner-01\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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=\"http://hl7.org/fhir/us/core/STU9/StructureDefinition-us-core-practitioner.html\">US Core Practitioner Profile</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Johnson (http://hl7.org/fhir/sid/us-npi#United States National Provider Identifier#1234567893)</p><hr/></div>"
  ] ;
  fhir:Practitioner.identifier [
     fhir:index -1 ;
     fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/sid/us-npi" ] ;
     fhir:Identifier.value [ fhir:value "1234567893" ]
  ] ;
  fhir:Practitioner.name [
     fhir:index -1 ;
     fhir:HumanName.family [ fhir:value "Johnson" ]
  ] .

<http://example.org/my-app/Organization/rtpbc-organization-01> a fhir:Organization ;
  fhir:Resource.id [ fhir:value "rtpbc-organization-01"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-pharmacy-organization" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-pharmacy-organization>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_rtpbc-organization-01\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization rtpbc-organization-01</b></p><a name=\"rtpbc-organization-01\"> </a><a name=\"hcrtpbc-organization-01\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-rtpbc-pharmacy-organization.html\">RTPBC Pharmacy Organization</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Hometown Drug (Retail) (http://hl7.org/fhir/sid/us-npi#United States National Provider Identifier#9876543213)</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: 6081234567</li><li>900 9th Street Madison WI 53535 US </li></ul></td></tr></table></div>"
  ] ;
  fhir:Organization.identifier [
     fhir:index -1 ;
     fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/sid/us-npi" ] ;
     fhir:Identifier.value [ fhir:value "9876543213" ]
  ] ;
  fhir:Organization.active [ fhir:value "true"^^xsd:boolean] ;
  fhir:Organization.type [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       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 "Hometown Drug"] ;
  fhir:Organization.telecom [
     fhir:index -1 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "6081234567" ]
  ] ;
  fhir:Organization.address [
     fhir:index -1 ;
     fhir:Address.line [
       fhir:value "900 9th Street" ;
       fhir:index -1
     ] ;
     fhir:Address.city [ fhir:value "Madison" ] ;
     fhir:Address.state [ fhir:value "WI" ] ;
     fhir:Address.postalCode [ fhir:value "53535" ] ;
     fhir:Address.country [ fhir:value "US" ]
  ] .

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

<http://hl7.org/fhir/Bundle/rtpbc-bundle-request-01.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Bundle/rtpbc-bundle-request-01.ttl> .