Release 5 Preview #1

This page is part of the FHIR Specification (v4.2.0: R5 Preview #1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Claim-example-pharmacy-compound.ttl

Financial Management Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification)

Simple Pharmacy Compound Claim

@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/Claim/760152> a fhir:Claim;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "760152"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">A human-readable rendering of the Pharmacy Claim</div>"
  ];
  fhir:Claim.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://happypharma.com/claim" ];
     fhir:Identifier.value [ fhir:value "7612345" ]
  ];
  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:Claim.use [ fhir:value "claim"];
  fhir:Claim.patient [
     fhir:link <http://hl7.org/fhir/Patient/1>;
     fhir:Reference.reference [ fhir:value "Patient/1" ]
  ];
  fhir:Claim.created [ fhir:value "2014-08-16"^^xsd:date];
  fhir:Claim.insurer [
     fhir:link <http://hl7.org/fhir/Organization/2>;
     fhir:Reference.reference [ fhir:value "Organization/2" ]
  ];
  fhir:Claim.provider [
     fhir:link <http://hl7.org/fhir/Organization/1>;
     fhir:Reference.reference [ fhir:value "Organization/1" ]
  ];
  fhir:Claim.priority [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "stat" ]
     ]
  ];
  fhir:Claim.payee [
     fhir:Claim.payee.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.code [ fhir:value "provider" ]
       ]
     ]
  ];
  fhir:Claim.careTeam [
     fhir:index 0;
     fhir:Claim.careTeam.sequence [ fhir:value "1"^^xsd:positiveInteger ];
     fhir:Claim.careTeam.provider [
       fhir:link <http://hl7.org/fhir/Practitioner/example>;
       fhir:Reference.reference [ fhir:value "Practitioner/example" ]
     ]
  ];
  fhir:Claim.supportingInfo [
     fhir:index 0;
     fhir:Claim.supportingInfo.sequence [ fhir:value "1"^^xsd:positiveInteger ];
     fhir:Claim.supportingInfo.category [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.code [ fhir:value "pharmacyrefill" ]
       ]
     ];
     fhir:Claim.supportingInfo.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://example.org/fhir/CodeSystem/pharmacy-refill" ];
         fhir:Coding.code [ fhir:value "new" ]
       ]
     ]
  ], [
     fhir:index 1;
     fhir:Claim.supportingInfo.sequence [ fhir:value "2"^^xsd:positiveInteger ];
     fhir:Claim.supportingInfo.category [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.code [ fhir:value "pharmacyinformation" ]
       ]
     ];
     fhir:Claim.supportingInfo.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://example.org/fhir/CodeSystem/pharmacy-information" ];
         fhir:Coding.code [ fhir:value "refillsremaining" ]
       ]
     ];
     fhir:Claim.supportingInfo.valueQuantity [
       fhir:Quantity.value [ fhir:value "0"^^xsd:decimal ]
     ]
  ], [
     fhir:index 2;
     fhir:Claim.supportingInfo.sequence [ fhir:value "3"^^xsd:positiveInteger ];
     fhir:Claim.supportingInfo.category [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.code [ fhir:value "pharmacyinformation" ]
       ]
     ];
     fhir:Claim.supportingInfo.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://example.org/fhir/CodeSystem/pharmacy-information" ];
         fhir:Coding.code [ fhir:value "dayssupply" ]
       ]
     ];
     fhir:Claim.supportingInfo.valueQuantity [
       fhir:Quantity.value [ fhir:value "10"^^xsd:decimal ]
     ]
  ], [
     fhir:index 3;
     fhir:Claim.supportingInfo.sequence [ fhir:value "4"^^xsd:positiveInteger ];
     fhir:Claim.supportingInfo.category [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.code [ fhir:value "pharmacy" ]
       ]
     ];
     fhir:Claim.supportingInfo.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://example.org/fhir/CodeSystem/pharmacy-form" ];
         fhir:Coding.code [ fhir:value "capsule" ]
       ]
     ]
  ];
  fhir:Claim.diagnosis [
     fhir:index 0;
     fhir:Claim.diagnosis.sequence [ fhir:value "1"^^xsd:positiveInteger ];
     fhir:Claim.diagnosis.diagnosisCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.code [ fhir:value "654456" ]
       ]
     ]
  ];
  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 <http://hl7.org/fhir/Coverage/9876B1>;
       fhir:Reference.reference [ fhir:value "Coverage/9876B1" ]
     ]
  ];
  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.informationSequence [
       fhir:value "1"^^xsd:positiveInteger;
       fhir:index 0
     ], [
       fhir:value "2"^^xsd:positiveInteger;
       fhir:index 1
     ], [
       fhir:value "3"^^xsd:positiveInteger;
       fhir:index 2
     ], [
       fhir:value "4"^^xsd:positiveInteger;
       fhir:index 3
     ];
     fhir:Claim.item.productOrService [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://localdruglist.org" ];
         fhir:Coding.code [ fhir:value "compound" ];
         fhir:Coding.display [ fhir:value "Custom compound" ]
       ]
     ];
     fhir:Claim.item.servicedDate [ fhir:value "2014-08-16"^^xsd:date ];
     fhir:Claim.item.quantity [
       fhir:Quantity.value [ fhir:value "30"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "TAB" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "TAB" ]
     ];
     fhir:Claim.item.net [
       fhir:Money.value [ fhir:value "155.00"^^xsd:decimal ];
       fhir:Money.currency [ fhir:value "USD" ]
     ];
     fhir:Claim.item.detail [
       fhir:index 0;
       fhir:Claim.item.detail.sequence [ fhir:value "1"^^xsd:positiveInteger ];
       fhir:Claim.item.detail.productOrService [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://localdruglist.org" ];
           fhir:Coding.code [ fhir:value "44001" ];
           fhir:Coding.display [ fhir:value "Acetaminophen 250mg" ]
         ]
       ];
       fhir:Claim.item.detail.quantity [
         fhir:Quantity.value [ fhir:value "250"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "mg" ]
       ];
       fhir:Claim.item.detail.net [
         fhir:Money.value [ fhir:value "20.00"^^xsd:decimal ];
         fhir:Money.currency [ fhir:value "USD" ]
       ];
       fhir:Claim.item.detail.subDetail [
         fhir:index 0;
         fhir:Claim.item.detail.subDetail.sequence [ fhir:value "1"^^xsd:positiveInteger ];
         fhir:Claim.item.detail.subDetail.productOrService [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://hl7.org/fhir/ex-pharmaservice" ];
             fhir:Coding.code [ fhir:value "drugcost" ]
           ]
         ];
         fhir:Claim.item.detail.subDetail.net [
           fhir:Money.value [ fhir:value "20.00"^^xsd:decimal ];
           fhir:Money.currency [ fhir:value "USD" ]
         ]
       ]
     ], [
       fhir:index 1;
       fhir:Claim.item.detail.sequence [ fhir:value "2"^^xsd:positiveInteger ];
       fhir:Claim.item.detail.productOrService [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://localdruglist.org" ];
           fhir:Coding.code [ fhir:value "44035" ];
           fhir:Coding.display [ fhir:value "Phenacetin 50mg" ]
         ]
       ];
       fhir:Claim.item.detail.quantity [
         fhir:Quantity.value [ fhir:value "50"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "mg" ]
       ];
       fhir:Claim.item.detail.net [
         fhir:Money.value [ fhir:value "25.00"^^xsd:decimal ];
         fhir:Money.currency [ fhir:value "USD" ]
       ];
       fhir:Claim.item.detail.subDetail [
         fhir:index 0;
         fhir:Claim.item.detail.subDetail.sequence [ fhir:value "1"^^xsd:positiveInteger ];
         fhir:Claim.item.detail.subDetail.productOrService [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://hl7.org/fhir/ex-pharmaservice" ];
             fhir:Coding.code [ fhir:value "drugcost" ]
           ]
         ];
         fhir:Claim.item.detail.subDetail.net [
           fhir:Money.value [ fhir:value "25.00"^^xsd:decimal ];
           fhir:Money.currency [ fhir:value "USD" ]
         ]
       ]
     ], [
       fhir:index 2;
       fhir:Claim.item.detail.sequence [ fhir:value "3"^^xsd:positiveInteger ];
       fhir:Claim.item.detail.productOrService [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://localdruglist.org" ];
           fhir:Coding.code [ fhir:value "44057" ];
           fhir:Coding.display [ fhir:value "Codeine 25mg" ]
         ]
       ];
       fhir:Claim.item.detail.quantity [
         fhir:Quantity.value [ fhir:value "25"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "mg" ]
       ];
       fhir:Claim.item.detail.net [
         fhir:Money.value [ fhir:value "28.00"^^xsd:decimal ];
         fhir:Money.currency [ fhir:value "USD" ]
       ];
       fhir:Claim.item.detail.subDetail [
         fhir:index 0;
         fhir:Claim.item.detail.subDetail.sequence [ fhir:value "1"^^xsd:positiveInteger ];
         fhir:Claim.item.detail.subDetail.productOrService [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://hl7.org/fhir/ex-pharmaservice" ];
             fhir:Coding.code [ fhir:value "drugcost" ]
           ]
         ];
         fhir:Claim.item.detail.subDetail.net [
           fhir:Money.value [ fhir:value "28.00"^^xsd:decimal ];
           fhir:Money.currency [ fhir:value "USD" ]
         ]
       ]
     ], [
       fhir:index 3;
       fhir:Claim.item.detail.sequence [ fhir:value "2"^^xsd:positiveInteger ];
       fhir:Claim.item.detail.productOrService [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/ex-pharmaservice" ];
           fhir:Coding.code [ fhir:value "markup" ]
         ]
       ];
       fhir:Claim.item.detail.net [
         fhir:Money.value [ fhir:value "22.00"^^xsd:decimal ];
         fhir:Money.currency [ fhir:value "USD" ]
       ]
     ], [
       fhir:index 4;
       fhir:Claim.item.detail.sequence [ fhir:value "3"^^xsd:positiveInteger ];
       fhir:Claim.item.detail.productOrService [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/ex-pharmaservice" ];
           fhir:Coding.code [ fhir:value "compoundfee" ]
         ]
       ];
       fhir:Claim.item.detail.net [
         fhir:Money.value [ fhir:value "60.00"^^xsd:decimal ];
         fhir:Money.currency [ fhir:value "USD" ]
       ]
     ]
  ];
  fhir:Claim.total [
     fhir:Money.value [ fhir:value "155.00"^^xsd:decimal ];
     fhir:Money.currency [ fhir:value "USD" ]
  ] .

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

<http://hl7.org/fhir/Organization/2> a fhir:Organization .

<http://hl7.org/fhir/Organization/1> a fhir:Organization .

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

<http://hl7.org/fhir/Coverage/9876B1> a fhir:Coverage .

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

<http://hl7.org/fhir/Claim/760152.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Claim/760152.ttl> .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.