@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 "v3-substanceAdminSubstitution"];
  fhir:Resource.language [ fhir:value "en"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution"];
  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.5.1070" ]
  ];
  fhir:CodeSystem.version [ fhir:value "3.0.0"];
  fhir:CodeSystem.name [ fhir:value "SubstanceAdminSubstitution"];
  fhir:CodeSystem.title [ fhir:value "Substance Admin Substitution"];
  fhir:CodeSystem.status [ fhir:value "active"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.date [ fhir:value "2019-03-20"];
  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 "Identifies what sort of change is permitted or has occurred between the therapy that was ordered and the therapy that was/will be provided."];
  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.hierarchyMeaning [ fhir:value "is-a"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.property [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry" ];
       fhir:Extension.value [ fhir:value "antisymmetric" ]
     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity" ];
       fhir:Extension.value [ fhir:value "transitive" ]
     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity" ];
       fhir:Extension.value [ fhir:value "irreflexive" ]
     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable" ];
       fhir:Extension.value [ fhir:value "true" ]
     ], [
       fhir:index 4;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind" ];
       fhir:Extension.value [ fhir:value "Specializes" ]
     ], [
       fhir:index 5;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName" ];
       fhir:Extension.value [ fhir:value "Generalizes" ]
     ];
     fhir:CodeSystem.code [ fhir:value "Specializes" ];
     fhir:CodeSystem.description [ fhir:value "The child code is a more narrow version of the concept represented by the parent code.  I.e. Every child concept is also a valid parent concept.  Used to allow determination of subsumption.  Must be transitive, irreflexive, antisymmetric." ];
     fhir:CodeSystem.type [ fhir:value "Coding" ]
  ], [
     fhir:index 1;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry" ];
       fhir:Extension.value [ fhir:value "antisymmetric" ]
     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity" ];
       fhir:Extension.value [ fhir:value "transitive" ]
     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity" ];
       fhir:Extension.value [ fhir:value "irreflexive" ]
     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable" ];
       fhir:Extension.value [ fhir:value "true" ]
     ], [
       fhir:index 4;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind" ];
       fhir:Extension.value [ fhir:value "Generalizes" ]
     ], [
       fhir:index 5;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName" ];
       fhir:Extension.value [ fhir:value "Specializes" ]
     ];
     fhir:CodeSystem.code [ fhir:value "Generalizes" ];
     fhir:CodeSystem.description [ fhir:value "Inverse of Specializes.  Only included as a derived relationship." ];
     fhir:CodeSystem.type [ fhir:value "Coding" ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.code [ fhir:value "internalId" ];
     fhir:CodeSystem.uri [ fhir:value "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v3-internal-id" ];
     fhir:CodeSystem.description [ fhir:value "The internal identifier for the concept in the HL7 Access database repository." ];
     fhir:CodeSystem.type [ fhir:value "code" ]
  ], [
     fhir:index 3;
     fhir:CodeSystem.code [ fhir:value "notSelectable" ];
     fhir:CodeSystem.uri [ fhir:value "http://hl7.org/fhir/concept-properties#notSelectable" ];
     fhir:CodeSystem.description [ fhir:value "Indicates that the code is abstract - only intended to be used as a selector for other concepts" ];
     fhir:CodeSystem.type [ fhir:value "boolean" ]
  ], [
     fhir:index 4;
     fhir:CodeSystem.code [ fhir:value "status" ];
     fhir:CodeSystem.uri [ fhir:value "http://hl7.org/fhir/concept-properties#status" ];
     fhir:CodeSystem.description [ fhir:value "Designation of a concept's state. Normally is not populated unless the state is retired." ];
     fhir:CodeSystem.type [ fhir:value "code" ]
  ];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:CodeSystem.code [ fhir:value "_ActSubstanceAdminSubstitutionCode" ];
     fhir:CodeSystem.display [ fhir:value "ActSubstanceAdminSubstitutionCode" ];
     fhir:CodeSystem.definition [ fhir:value "**Description:** Substitution occurred or is permitted with another product that may potentially have different ingredients, but having the same biological and therapeutic effects." ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "en" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/designation-usage" ];
         fhir:Coding.code [ fhir:value "display" ]
       ];
       fhir:CodeSystem.value [ fhir:value "ActSubstanceAdminSubstitutionCode" ]
     ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "notSelectable" ];
       fhir:CodeSystem.value [ fhir:value "true" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "active" ]
     ], [
       fhir:index 2;
       fhir:CodeSystem.code [ fhir:value "internalId" ];
       fhir:CodeSystem.value [ fhir:value "21284" ]
     ];
     fhir:CodeSystem.concept [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "E" ];
       fhir:CodeSystem.display [ fhir:value "equivalent" ];
       fhir:CodeSystem.definition [ fhir:value "**Description:** Substitution occurred or is permitted with another bioequivalent and therapeutically equivalent product." ];
       fhir:CodeSystem.designation [
         fhir:index 0;
         fhir:CodeSystem.language [ fhir:value "en" ];
         fhir:CodeSystem.use [
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/designation-usage" ];
           fhir:Coding.code [ fhir:value "display" ]
         ];
         fhir:CodeSystem.value [ fhir:value "equivalent" ]
       ];
       fhir:CodeSystem.property [
         fhir:index 0;
         fhir:CodeSystem.code [ fhir:value "status" ];
         fhir:CodeSystem.value [ fhir:value "active" ]
       ], [
         fhir:index 1;
         fhir:CodeSystem.code [ fhir:value "internalId" ];
         fhir:CodeSystem.value [ fhir:value "23107" ]
       ];
       fhir:CodeSystem.concept [
         fhir:index 0;
         fhir:CodeSystem.code [ fhir:value "EC" ];
         fhir:CodeSystem.display [ fhir:value "equivalent composition" ];
         fhir:CodeSystem.definition [ fhir:value "**Description:** \r\n\r\nSubstitution occurred or is permitted with another product that is a:\r\n\r\n *  pharmaceutical alternative containing the same active ingredient but is formulated with different salt, ester\r\n *  pharmaceutical equivalent that has the same active ingredient, strength, dosage form and route of administration\r\n\r\n*Examples:* \r\n\r\n *  *Pharmaceutical alternative:* Erythromycin Ethylsuccinate for Erythromycin Stearate\r\n *  *Pharmaceutical equivalent:* Lisonpril for Zestril" ];
         fhir:CodeSystem.designation [
           fhir:index 0;
           fhir:CodeSystem.language [ fhir:value "en" ];
           fhir:CodeSystem.use [
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/designation-usage" ];
             fhir:Coding.code [ fhir:value "display" ]
           ];
           fhir:CodeSystem.value [ fhir:value "equivalent composition" ]
         ];
         fhir:CodeSystem.property [
           fhir:index 0;
           fhir:CodeSystem.code [ fhir:value "status" ];
           fhir:CodeSystem.value [ fhir:value "active" ]
         ], [
           fhir:index 1;
           fhir:CodeSystem.code [ fhir:value "internalId" ];
           fhir:CodeSystem.value [ fhir:value "23108" ]
         ];
         fhir:CodeSystem.concept [
           fhir:index 0;
           fhir:CodeSystem.code [ fhir:value "BC" ];
           fhir:CodeSystem.display [ fhir:value "brand composition" ];
           fhir:CodeSystem.definition [ fhir:value "**Description:** \r\n\r\nSubstitution occurred or is permitted between equivalent Brands but not Generics\r\n\r\n*Examples:* \r\n\r\n *  Zestril for Prinivil\r\n *  Coumadin for Jantoven" ];
           fhir:CodeSystem.designation [
             fhir:index 0;
             fhir:CodeSystem.language [ fhir:value "en" ];
             fhir:CodeSystem.use [
               fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/designation-usage" ];
               fhir:Coding.code [ fhir:value "display" ]
             ];
             fhir:CodeSystem.value [ fhir:value "brand composition" ]
           ];
           fhir:CodeSystem.property [
             fhir:index 0;
             fhir:CodeSystem.code [ fhir:value "status" ];
             fhir:CodeSystem.value [ fhir:value "active" ]
           ], [
             fhir:index 1;
             fhir:CodeSystem.code [ fhir:value "internalId" ];
             fhir:CodeSystem.value [ fhir:value "23109" ]
           ]
         ], [
           fhir:index 1;
           fhir:CodeSystem.code [ fhir:value "G" ];
           fhir:CodeSystem.display [ fhir:value "generic composition" ];
           fhir:CodeSystem.definition [ fhir:value "**Description:** Substitution occurred or is permitted between equivalent Generics but not Brands\r\n\r\n*Examples:* \r\n\r\n *  Lisnopril (Lupin Corp) for Lisnopril (Wockhardt Corp)" ];
           fhir:CodeSystem.designation [
             fhir:index 0;
             fhir:CodeSystem.language [ fhir:value "en" ];
             fhir:CodeSystem.use [
               fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/designation-usage" ];
               fhir:Coding.code [ fhir:value "display" ]
             ];
             fhir:CodeSystem.value [ fhir:value "generic composition" ]
           ], [
             fhir:index 1;
             fhir:CodeSystem.language [ fhir:value "en" ];
             fhir:CodeSystem.use [
               fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/designation-usage" ];
               fhir:Coding.code [ fhir:value "display" ]
             ];
             fhir:CodeSystem.value [ fhir:value "generic composition" ]
           ];
           fhir:CodeSystem.property [
             fhir:index 0;
             fhir:CodeSystem.code [ fhir:value "status" ];
             fhir:CodeSystem.value [ fhir:value "active" ]
           ], [
             fhir:index 1;
             fhir:CodeSystem.code [ fhir:value "internalId" ];
             fhir:CodeSystem.value [ fhir:value "16623" ]
           ]
         ]
       ], [
         fhir:index 1;
         fhir:CodeSystem.code [ fhir:value "TE" ];
         fhir:CodeSystem.display [ fhir:value "therapeutic alternative" ];
         fhir:CodeSystem.definition [ fhir:value "**Description:** Substitution occurred or is permitted with another product having the same therapeutic objective and safety profile.\r\n\r\n*Examples:* \r\n\r\n *  ranitidine for Tagamet" ];
         fhir:CodeSystem.designation [
           fhir:index 0;
           fhir:CodeSystem.language [ fhir:value "en" ];
           fhir:CodeSystem.use [
             fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/designation-usage" ];
             fhir:Coding.code [ fhir:value "display" ]
           ];
           fhir:CodeSystem.value [ fhir:value "therapeutic alternative" ]
         ];
         fhir:CodeSystem.property [
           fhir:index 0;
           fhir:CodeSystem.code [ fhir:value "status" ];
           fhir:CodeSystem.value [ fhir:value "active" ]
         ], [
           fhir:index 1;
           fhir:CodeSystem.code [ fhir:value "internalId" ];
           fhir:CodeSystem.value [ fhir:value "16624" ]
         ];
         fhir:CodeSystem.concept [
           fhir:index 0;
           fhir:CodeSystem.code [ fhir:value "TB" ];
           fhir:CodeSystem.display [ fhir:value "therapeutic brand" ];
           fhir:CodeSystem.definition [ fhir:value "**Description:** Substitution occurred or is permitted between therapeutically equivalent Brands but not Generics\r\n\r\n>\r\n\r\n*Examples:* \r\n\r\n *  Zantac for Tagamet" ];
           fhir:CodeSystem.designation [
             fhir:index 0;
             fhir:CodeSystem.language [ fhir:value "en" ];
             fhir:CodeSystem.use [
               fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/designation-usage" ];
               fhir:Coding.code [ fhir:value "display" ]
             ];
             fhir:CodeSystem.value [ fhir:value "therapeutic brand" ]
           ];
           fhir:CodeSystem.property [
             fhir:index 0;
             fhir:CodeSystem.code [ fhir:value "status" ];
             fhir:CodeSystem.value [ fhir:value "active" ]
           ], [
             fhir:index 1;
             fhir:CodeSystem.code [ fhir:value "internalId" ];
             fhir:CodeSystem.value [ fhir:value "23105" ]
           ]
         ], [
           fhir:index 1;
           fhir:CodeSystem.code [ fhir:value "TG" ];
           fhir:CodeSystem.display [ fhir:value "therapeutic generic" ];
           fhir:CodeSystem.definition [ fhir:value "**Description:** Substitution occurred or is permitted between therapeutically equivalent Generics but not Brands\r\n\r\n>\r\n\r\n*Examples:* \r\n\r\n *  Ranitidine for cimetidine" ];
           fhir:CodeSystem.designation [
             fhir:index 0;
             fhir:CodeSystem.language [ fhir:value "en" ];
             fhir:CodeSystem.use [
               fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/designation-usage" ];
               fhir:Coding.code [ fhir:value "display" ]
             ];
             fhir:CodeSystem.value [ fhir:value "therapeutic generic" ]
           ];
           fhir:CodeSystem.property [
             fhir:index 0;
             fhir:CodeSystem.code [ fhir:value "status" ];
             fhir:CodeSystem.value [ fhir:value "active" ]
           ], [
             fhir:index 1;
             fhir:CodeSystem.code [ fhir:value "internalId" ];
             fhir:CodeSystem.value [ fhir:value "23106" ]
           ]
         ]
       ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "F" ];
       fhir:CodeSystem.display [ fhir:value "formulary" ];
       fhir:CodeSystem.definition [ fhir:value "**Description:** This substitution was performed or is permitted based on formulary guidelines." ];
       fhir:CodeSystem.designation [
         fhir:index 0;
         fhir:CodeSystem.language [ fhir:value "en" ];
         fhir:CodeSystem.use [
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/designation-usage" ];
           fhir:Coding.code [ fhir:value "display" ]
         ];
         fhir:CodeSystem.value [ fhir:value "formulary" ]
       ];
       fhir:CodeSystem.property [
         fhir:index 0;
         fhir:CodeSystem.code [ fhir:value "status" ];
         fhir:CodeSystem.value [ fhir:value "active" ]
       ], [
         fhir:index 1;
         fhir:CodeSystem.code [ fhir:value "internalId" ];
         fhir:CodeSystem.value [ fhir:value "16625" ]
       ]
     ], [
       fhir:index 2;
       fhir:CodeSystem.code [ fhir:value "N" ];
       fhir:CodeSystem.display [ fhir:value "none" ];
       fhir:CodeSystem.definition [ fhir:value "No substitution occurred or is permitted." ];
       fhir:CodeSystem.designation [
         fhir:index 0;
         fhir:CodeSystem.language [ fhir:value "en" ];
         fhir:CodeSystem.use [
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/designation-usage" ];
           fhir:Coding.code [ fhir:value "display" ]
         ];
         fhir:CodeSystem.value [ fhir:value "none" ]
       ];
       fhir:CodeSystem.property [
         fhir:index 0;
         fhir:CodeSystem.code [ fhir:value "status" ];
         fhir:CodeSystem.value [ fhir:value "active" ]
       ], [
         fhir:index 1;
         fhir:CodeSystem.code [ fhir:value "internalId" ];
         fhir:CodeSystem.value [ fhir:value "16622" ]
       ]
     ]
  ] .

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

