@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:CodeSystem;
  fhir:Resource.id [ fhir:value "v2-0506"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "oo" ]
  ];
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0506"];
  fhir:CodeSystem.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.18.330" ]
  ];
  fhir:CodeSystem.version [ fhir:value "2.0.0"];
  fhir:CodeSystem.name [ fhir:value "ServiceRequestRelationship"];
  fhir:CodeSystem.title [ fhir:value "serviceRequestRelationship"];
  fhir:CodeSystem.status [ fhir:value "active"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.date [ fhir:value "2019-12-01"];
  fhir:CodeSystem.publisher [ fhir:value "Health Level Seven International"];
  fhir:CodeSystem.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org" ]
     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "hq@HL7.org" ]
     ]
  ];
  fhir:CodeSystem.description [ fhir:value "HL7-defined code system of concepts used to specify an additional or alternate relationship between this service request and other service requests.  Used in the Timing/Quantity Relationship (TQ2) segment in HL7 Version 2.x messaging."];
  fhir:CodeSystem.purpose [ fhir:value "Underlying Master Code System for V2 table 0506 (Service Request Relationship)"];
  fhir:CodeSystem.copyright [ fhir:value "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:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v2-0506"];
  fhir:CodeSystem.hierarchyMeaning [ fhir:value "is-a"];
  fhir:CodeSystem.compositional [ fhir:value "false"];
  fhir:CodeSystem.versionNeeded [ fhir:value "false"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.property [
     fhir:index 0;
     fhir:CodeSystem.code [ fhir:value "status" ];
     fhir:CodeSystem.uri [ fhir:value "http://terminology.hl7.org/CodeSystem/utg-concept-properties#status" ];
     fhir:CodeSystem.description [ fhir:value "Status of the concept" ];
     fhir:CodeSystem.type [ fhir:value "code" ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.code [ fhir:value "deprecated" ];
     fhir:CodeSystem.uri [ fhir:value "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated" ];
     fhir:CodeSystem.description [ fhir:value "Version of HL7 in which the code was deprecated" ];
     fhir:CodeSystem.type [ fhir:value "code" ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.code [ fhir:value "v2-concComment" ];
     fhir:CodeSystem.uri [ fhir:value "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concComment" ];
     fhir:CodeSystem.description [ fhir:value "V2 Concept Comment" ];
     fhir:CodeSystem.type [ fhir:value "string" ]
  ], [
     fhir:index 3;
     fhir:CodeSystem.code [ fhir:value "v2-concCommentAsPub" ];
     fhir:CodeSystem.uri [ fhir:value "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concCommentAsPub" ];
     fhir:CodeSystem.description [ fhir:value "V2 Concept Comment As Published" ];
     fhir:CodeSystem.type [ fhir:value "string" ]
  ];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:Element.id [ fhir:value "5522" ];
     fhir:CodeSystem.code [ fhir:value "N" ];
     fhir:CodeSystem.display [ fhir:value "Nurse prerogative" ];
     fhir:CodeSystem.definition [ fhir:value "Nurse prerogative" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "v2-concComment" ];
       fhir:CodeSystem.value [ fhir:value "Where a set of two or more orders exist and the Nurse, or other caregiver, has the prerogative to choose which order will be administered at a particular point in time.  For example,\r\n	Milk of Magnesia PO 30 ml qhs (at bedtime)\r\n	Dulcolax Supp R @ hs prn\r\n	Colace 100 mg capsule PO bid \r\nThe nurse would be administering MOM, but may add the Colace and may also give the Dulcolax Supp as needed to promote and maintain regularity." ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "v2-concCommentAsPub" ];
       fhir:CodeSystem.value [ fhir:value "Where a set of two or more orders exist and the Nurse, or other caregiver, has the prerogative to choose which order will be administered at a particular point in time.  For example,\r\n	Milk of Magnesia PO 30 ml qhs (at bedtime)\r\n	Dulcolax Supp R @ hs prn\r\n	Colace 100 mg capsule PO bid \r\nThe nurse would be administering MOM, but may add the Colace and may also give the Dulcolax Supp as needed to promote and maintain regularity." ]
     ], [
       fhir:index 2;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 1;
     fhir:Element.id [ fhir:value "5523" ];
     fhir:CodeSystem.code [ fhir:value "C" ];
     fhir:CodeSystem.display [ fhir:value "Compound" ];
     fhir:CodeSystem.definition [ fhir:value "Compound" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "v2-concComment" ];
       fhir:CodeSystem.value [ fhir:value "A compound is an extempo order which may be made up of multiple drugs.  For example, many hospitals have a standard item called \"Magic Mouthwash\".  The item is ordered that way by the physician. The extempo items will contain multiple products, such as Maalox, Benadryl, Xylocaine, etc.  They will all be mixed together and will be dispensed in a single container." ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "v2-concCommentAsPub" ];
       fhir:CodeSystem.value [ fhir:value "A compound is an extempo order which may be made up of multiple drugs.  For example, many hospitals have a standard item called \"Magic Mouthwash\".  The item is ordered that way by the physician. The extempo items will contain multiple products, such as Maalox, Benadryl, Xylocaine, etc.  They will all be mixed together and will be dispensed in a single container." ]
     ], [
       fhir:index 2;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 2;
     fhir:Element.id [ fhir:value "5524" ];
     fhir:CodeSystem.code [ fhir:value "T" ];
     fhir:CodeSystem.display [ fhir:value "Tapering" ];
     fhir:CodeSystem.definition [ fhir:value "Tapering" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "v2-concComment" ];
       fhir:CodeSystem.value [ fhir:value "A tapering order is one in which the same drug is used, but it has a declining dosage over a number of days.\r\nFor example, Decadron 0.5 mg is often ordered this way.  The order would look like this:\r\n	Decadron 0.5 mg qid (four times a day) for 2 days, then\r\n	Decadron 0.5 mg tid (three times a day) for 2 days, then\r\n	Decadron 0.5 mg bid (twice a day) for 2 days, then\r\n	Decadron 0.5 mg qd (daily) for 2 days, then stop." ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "v2-concCommentAsPub" ];
       fhir:CodeSystem.value [ fhir:value "A tapering order is one in which the same drug is used, but it has a declining dosage over a number of days.\r\nFor example, Decadron 0.5 mg is often ordered this way.  The order would look like this:\r\n	Decadron 0.5 mg qid (four times a day) for 2 days, then\r\n	Decadron 0.5 mg tid (three times a day) for 2 days, then\r\n	Decadron 0.5 mg bid (twice a day) for 2 days, then\r\n	Decadron 0.5 mg qd (daily) for 2 days, then stop." ]
     ], [
       fhir:index 2;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 3;
     fhir:Element.id [ fhir:value "5525" ];
     fhir:CodeSystem.code [ fhir:value "E" ];
     fhir:CodeSystem.display [ fhir:value "Exclusive" ];
     fhir:CodeSystem.definition [ fhir:value "Exclusive" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "v2-concComment" ];
       fhir:CodeSystem.value [ fhir:value "An exclusive order is an order where only one of the multiple items should be administered at any one dosage time.  The nurse may chose between the alternatives, but should only give ONE of them.  An example would be: Phenergan 25 mg PO, IM or R q6h prn (orally, intramuscularly, or rectally every 6 hours as needed)." ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "v2-concCommentAsPub" ];
       fhir:CodeSystem.value [ fhir:value "An exclusive order is an order where only one of the multiple items should be administered at any one dosage time.  The nurse may chose between the alternatives, but should only give ONE of them.  An example would be: Phenergan 25 mg PO, IM or R q6h prn (orally, intramuscularly, or rectally every 6 hours as needed)." ]
     ], [
       fhir:index 2;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 4;
     fhir:Element.id [ fhir:value "5526" ];
     fhir:CodeSystem.code [ fhir:value "S" ];
     fhir:CodeSystem.display [ fhir:value "Simultaneous" ];
     fhir:CodeSystem.definition [ fhir:value "Simultaneous" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "v2-concComment" ];
       fhir:CodeSystem.value [ fhir:value "A simultaneous order is 2 or more drugs which are ordered to be given at the same time.  A common example of this would be Demerol and Phenergan (Phenergan is given with the Demerol to control the nausea that Demerol can cause).  The order could be: Demerol 50 mg IM with Phenergan 25 mg IM q4h prn (every 4 hours as needed)." ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "v2-concCommentAsPub" ];
       fhir:CodeSystem.value [ fhir:value "A simultaneous order is 2 or more drugs which are ordered to be given at the same time.  A common example of this would be Demerol and Phenergan (Phenergan is given with the Demerol to control the nausea that Demerol can cause).  The order could be: Demerol 50 mg IM with Phenergan 25 mg IM q4h prn (every 4 hours as needed)." ]
     ], [
       fhir:index 2;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ] .

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

