@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/uv/xver/CodeSystem/therapy-relationship-type> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "therapy-relationship-type"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <p>This code system \n              <code>http://hl7.org/fhir/therapy-relationship-type</code> defines the following codes:\n            </p>\n            <table class=\"codes\">\n              <tr>\n                <td style=\"white-space:nowrap\">\n                  <b>Code</b>\n                </td>\n                <td>\n                  <b>Display</b>\n                </td>\n                <td>\n                  <b>Definition</b>\n                </td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">contraindicated-only-with\n                  <a name=\"therapy-relationship-type-contraindicated-only-with\"> </a>\n                </td>\n                <td>Only contraindicated if the other therapy is given</td>\n                <td>Only contraindicated if the other therapy is given</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">contraindicated-except-with\n                  <a name=\"therapy-relationship-type-contraindicated-except-with\"> </a>\n                </td>\n                <td>Contraindicated unless the other therapy is given</td>\n                <td>Contraindicated unless the other therapy is given</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">indicated-only-with\n                  <a name=\"therapy-relationship-type-indicated-only-with\"> </a>\n                </td>\n                <td>Indicated only when the other therapy is given (co-occurrent)</td>\n                <td>Indicated only when the other therapy is given (co-occurrent)</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">indicated-except-with\n                  <a name=\"therapy-relationship-type-indicated-except-with\"> </a>\n                </td>\n                <td>Indicated except when the other therapy is given</td>\n                <td>Indicated except when the other therapy is given</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">indicated-only-after\n                  <a name=\"therapy-relationship-type-indicated-only-after\"> </a>\n                </td>\n                <td>Indicated only if the other therapy is planned to be given afterwards (prep)</td>\n                <td>Indicated only if the other therapy is planned to be given afterwards (prep)</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">indicated-only-before\n                  <a name=\"therapy-relationship-type-indicated-only-before\"> </a>\n                </td>\n                <td>Indicated only if the other therapy was given before (follow-up)</td>\n                <td>Indicated only if the other therapy was given before (follow-up)</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">replace-other-therapy\n                  <a name=\"therapy-relationship-type-replace-other-therapy\"> </a>\n                </td>\n                <td>Indicated to replace the other therapy</td>\n                <td>Indicated to replace the other therapy</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">replace-other-therapy-contraindicated\n                  <a name=\"therapy-relationship-type-replace-other-therapy-contraindicated\"> </a>\n                </td>\n                <td>Indicated to replace the other contraindicated therapy</td>\n                <td>Indicated to replace the other contraindicated therapy.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">replace-other-therapy-not-tolerated\n                  <a name=\"therapy-relationship-type-replace-other-therapy-not-tolerated\"> </a>\n                </td>\n                <td>Indicated to replace the other therapy not well tolerated by patient</td>\n                <td>Indicated to replace the other therapy not well tolerated by patient</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">replace-other-therapy-not-effective\n                  <a name=\"therapy-relationship-type-replace-other-therapy-not-effective\"> </a>\n                </td>\n                <td>Indicated to replace the other therapy not effective on patient</td>\n                <td>Indicated to replace the other therapy not effective on patient</td>\n              </tr>\n            </table>\n          </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "trial-use"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>
     ] ;
     fhir:value [
       a fhir:Integer ;
       fhir:v 1
     ]
  ] [
     fhir:extension ( [
       fhir:url [
         fhir:v "packageId"^^xsd:anyURI ;
         fhir:l fhir:packageId
       ] ;
       fhir:value [
         a fhir:Id ;
         fhir:v "hl7.fhir.uv.xver-r5.r4"
       ]
     ] [
       fhir:url [
         fhir:v "version"^^xsd:anyURI ;
         fhir:l fhir:version
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "0.1.0"
       ]
     ] [
       fhir:url [
         fhir:v "uri"^^xsd:anyURI ;
         fhir:l fhir:uri
       ] ;
       fhir:value [
         a fhir:Uri ;
         fhir:v "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4>
       ]
     ] ) ;
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/package-source"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/package-source>
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "brr"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/therapy-relationship-type"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/therapy-relationship-type>
  ] ; # 
  fhir:version [ fhir:v "5.0.0"] ; # 
  fhir:name [ fhir:v "TherapyRelationshipType"] ; # 
  fhir:title [ fhir:v "Therapy Relationship Type"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2021-08-15T00:55:11-05:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Biomedical Research and Regulation"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Biomedical Research and Regulation" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/rcrim" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Classification of relationship between a therapy and a contraindication or an indication."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
         fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>
       ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/therapy-relationship-type"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/therapy-relationship-type>
  ] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "contraindicated-only-with" ] ;
     fhir:display [ fhir:v "Only contraindicated if the other therapy is given" ] ;
     fhir:definition [ fhir:v "Only contraindicated if the other therapy is given" ]
  ] [
     fhir:code [ fhir:v "contraindicated-except-with" ] ;
     fhir:display [ fhir:v "Contraindicated unless the other therapy is given" ] ;
     fhir:definition [ fhir:v "Contraindicated unless the other therapy is given" ]
  ] [
     fhir:code [ fhir:v "indicated-only-with" ] ;
     fhir:display [ fhir:v "Indicated only when the other therapy is given (co-occurrent)" ] ;
     fhir:definition [ fhir:v "Indicated only when the other therapy is given (co-occurrent)" ]
  ] [
     fhir:code [ fhir:v "indicated-except-with" ] ;
     fhir:display [ fhir:v "Indicated except when the other therapy is given" ] ;
     fhir:definition [ fhir:v "Indicated except when the other therapy is given" ]
  ] [
     fhir:code [ fhir:v "indicated-only-after" ] ;
     fhir:display [ fhir:v "Indicated only if the other therapy is planned to be given afterwards (prep)" ] ;
     fhir:definition [ fhir:v "Indicated only if the other therapy is planned to be given afterwards (prep)" ]
  ] [
     fhir:code [ fhir:v "indicated-only-before" ] ;
     fhir:display [ fhir:v "Indicated only if the other therapy was given before (follow-up)" ] ;
     fhir:definition [ fhir:v "Indicated only if the other therapy was given before (follow-up)" ]
  ] [
     fhir:code [ fhir:v "replace-other-therapy" ] ;
     fhir:display [ fhir:v "Indicated to replace the other therapy" ] ;
     fhir:definition [ fhir:v "Indicated to replace the other therapy" ]
  ] [
     fhir:code [ fhir:v "replace-other-therapy-contraindicated" ] ;
     fhir:display [ fhir:v "Indicated to replace the other contraindicated therapy" ] ;
     fhir:definition [ fhir:v "Indicated to replace the other contraindicated therapy." ]
  ] [
     fhir:code [ fhir:v "replace-other-therapy-not-tolerated" ] ;
     fhir:display [ fhir:v "Indicated to replace the other therapy not well tolerated by patient" ] ;
     fhir:definition [ fhir:v "Indicated to replace the other therapy not well tolerated by patient" ]
  ] [
     fhir:code [ fhir:v "replace-other-therapy-not-effective" ] ;
     fhir:display [ fhir:v "Indicated to replace the other therapy not effective on patient" ] ;
     fhir:definition [ fhir:v "Indicated to replace the other therapy not effective on patient" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

