@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://terminology.hl7.org/CodeSystem/v2-0510> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "v2-0510"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Properties</b></p><p><b>This code system  defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Code</b></td><td><b>URI</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>status</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#status</td><td>code</td><td>Status of the concept</td></tr><tr><td>deprecated</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated</td><td>code</td><td>Version of HL7 in which the code was deprecated</td></tr><tr><td>v2-concComment</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concComment</td><td>string</td><td>V2 Concept Comment</td></tr><tr><td>v2-concCommentAsPub</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concCommentAsPub</td><td>string</td><td>V2 Concept Comment As Published</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/v2-0510</code> defines the following codes in a Is-A heirarchy:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td><td><b>V2 Concept Comment</b></td><td><b>V2 Concept Comment As Published</b></td></tr><tr><td style=\"white-space:nowrap\">RI<a name=\"v2-0510-RI\"> </a></td><td>Received into inventory (for specified patient)</td><td>Received into inventory (for specified patient)</td><td>Status determined by Filler</td><td>Status determined by Filler</td></tr><tr><td style=\"white-space:nowrap\">RD<a name=\"v2-0510-RD\"> </a></td><td>Reserved and ready to dispense</td><td>Reserved and ready to dispense</td><td>Status determined by Filler</td><td>Status determined by Filler</td></tr><tr><td style=\"white-space:nowrap\">RS<a name=\"v2-0510-RS\"> </a></td><td>Reserved (ordered and product allocated for the patient)</td><td>Reserved (ordered and product allocated for the patient)</td><td>Status determined by Filler</td><td>Status determined by Filler</td></tr><tr><td style=\"white-space:nowrap\">RE<a name=\"v2-0510-RE\"> </a></td><td>Released (no longer allocated for the patient)</td><td>Released (no longer allocated for the patient)</td><td>Status determined by Placer or Filler</td><td>Status determined by Placer or Filler</td></tr><tr><td style=\"white-space:nowrap\">DS<a name=\"v2-0510-DS\"> </a></td><td>Dispensed to patient location</td><td>Dispensed to patient location</td><td>Status determined by Filler</td><td>Status determined by Filler</td></tr><tr><td style=\"white-space:nowrap\">RA<a name=\"v2-0510-RA\"> </a></td><td>Returned unused/no longer needed</td><td>Returned unused/no longer needed</td><td>Status determined by Filler</td><td>Status determined by Filler</td></tr><tr><td style=\"white-space:nowrap\">RL<a name=\"v2-0510-RL\"> </a></td><td>Returned unused/keep linked to patient for possible use later</td><td>Returned unused/keep linked to patient for possible use later</td><td>Status determined by Filler</td><td>Status determined by Filler</td></tr><tr><td style=\"white-space:nowrap\">WA<a name=\"v2-0510-WA\"> </a></td><td>Wasted (product no longer viable)</td><td>Wasted (product no longer viable)</td><td>Status determined by Filler</td><td>Status determined by Filler</td></tr><tr><td style=\"white-space:nowrap\">PT<a name=\"v2-0510-PT\"> </a></td><td>Presumed transfused (dispensed and not returned)</td><td>Presumed transfused (dispensed and not returned)</td><td>Status determined by Filler</td><td>Status determined by Filler</td></tr><tr><td style=\"white-space:nowrap\">CR<a name=\"v2-0510-CR\"> </a></td><td>Released into inventory for general availability</td><td>Released into inventory for general availability</td><td>Status determined by Filler</td><td>Status determined by Filler</td></tr><tr><td style=\"white-space:nowrap\">RQ<a name=\"v2-0510-RQ\"> </a></td><td>Request to dispense blood product</td><td>Request to dispense blood product</td><td>Status determined by Placer</td><td>Status determined by Placer</td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "oo" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0510"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.18.333" ]
  ] ) ; # 
  fhir:version [ fhir:v "2.0.0"] ; # 
  fhir:name [ fhir:v "BloodProductDispenseStatus"] ; # 
  fhir:title [ fhir:v "bloodProductDispenseStatus"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2019-12-01"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "Health Level Seven International"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "hq@HL7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "HL7-defined code system of concepts used to specify the current status of the specified blood product as indicated by the filler or placer.  For example, the first status change of a product that may trigger a Blood Product Dispense Status Message occurs when it first becomes linked to a patient and is ready to dispense. The placer system may use the Blood Product Dispense Status Message to request the transfusion service to dispense the product.  When the blood product is delivered or issued to a patient, the status of the blood product would be changed to indicate that it has now been \"dispensed\".  Used in the Blood Product Dispense Status (BPX) segment in HL7 Version 2.x messaging."] ; # 
  fhir:purpose [ fhir:v "Underlying Master Code System for V2 table 0510 (Blood Product Dispense Status)"] ; # 
  fhir:copyright [ fhir:v "This material derives from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license"] ; # 
  fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:valueSet [
     fhir:v "http://terminology.hl7.org/ValueSet/v2-0510"^^xsd:anyURI ;
     fhir:link <http://terminology.hl7.org/ValueSet/v2-0510>
  ] ; # 
  fhir:hierarchyMeaning [ fhir:v "is-a"] ; # 
  fhir:compositional [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:versionNeeded [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:property ( [
     fhir:code [ fhir:v "status" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#status"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "Status of the concept" ] ;
     fhir:type [ fhir:v "code" ]
  ] [
     fhir:code [ fhir:v "deprecated" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "Version of HL7 in which the code was deprecated" ] ;
     fhir:type [ fhir:v "code" ]
  ] [
     fhir:code [ fhir:v "v2-concComment" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concComment"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "V2 Concept Comment" ] ;
     fhir:type [ fhir:v "string" ]
  ] [
     fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concCommentAsPub"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "V2 Concept Comment As Published" ] ;
     fhir:type [ fhir:v "string" ]
  ] ) ; # 
  fhir:concept ( [
     fhir:id [ fhir:v "5543" ] ;
     fhir:code [ fhir:v "RI" ] ;
     fhir:display [ fhir:v "Received into inventory (for specified patient)" ] ;
     fhir:definition [ fhir:v "Received into inventory (for specified patient)" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "5544" ] ;
     fhir:code [ fhir:v "RD" ] ;
     fhir:display [ fhir:v "Reserved and ready to dispense" ] ;
     fhir:definition [ fhir:v "Reserved and ready to dispense" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "5545" ] ;
     fhir:code [ fhir:v "RS" ] ;
     fhir:display [ fhir:v "Reserved (ordered and product allocated for the patient)" ] ;
     fhir:definition [ fhir:v "Reserved (ordered and product allocated for the patient)" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "5546" ] ;
     fhir:code [ fhir:v "RE" ] ;
     fhir:display [ fhir:v "Released (no longer allocated for the patient)" ] ;
     fhir:definition [ fhir:v "Released (no longer allocated for the patient)" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Status determined by Placer or Filler" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Status determined by Placer or Filler" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "5547" ] ;
     fhir:code [ fhir:v "DS" ] ;
     fhir:display [ fhir:v "Dispensed to patient location" ] ;
     fhir:definition [ fhir:v "Dispensed to patient location" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "5548" ] ;
     fhir:code [ fhir:v "RA" ] ;
     fhir:display [ fhir:v "Returned unused/no longer needed" ] ;
     fhir:definition [ fhir:v "Returned unused/no longer needed" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "5549" ] ;
     fhir:code [ fhir:v "RL" ] ;
     fhir:display [ fhir:v "Returned unused/keep linked to patient for possible use later" ] ;
     fhir:definition [ fhir:v "Returned unused/keep linked to patient for possible use later" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "5550" ] ;
     fhir:code [ fhir:v "WA" ] ;
     fhir:display [ fhir:v "Wasted (product no longer viable)" ] ;
     fhir:definition [ fhir:v "Wasted (product no longer viable)" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "5551" ] ;
     fhir:code [ fhir:v "PT" ] ;
     fhir:display [ fhir:v "Presumed transfused (dispensed and not returned)" ] ;
     fhir:definition [ fhir:v "Presumed transfused (dispensed and not returned)" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "5552" ] ;
     fhir:code [ fhir:v "CR" ] ;
     fhir:display [ fhir:v "Released into inventory for general availability" ] ;
     fhir:definition [ fhir:v "Released into inventory for general availability" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Status determined by Filler" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "5553" ] ;
     fhir:code [ fhir:v "RQ" ] ;
     fhir:display [ fhir:v "Request to dispense blood product" ] ;
     fhir:definition [ fhir:v "Request to dispense blood product" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Status determined by Placer" ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "Status determined by Placer" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] ) . # 

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

