@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/consent-state-codes> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "consent-state-codes"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      \n      \n            <h2>ConsentState</h2>\n      \n      \n            <div>\n        \n        \n              <p>Indicates the state of the consent.</p>\n\n      \n      \n            </div>\n      \n      \n            <p>This code system http://hl7.org/fhir/consent-state-codes defines the following codes:</p>\n      \n      \n            <table class=\"codes\">\n        \n        \n              <tr>\n          \n          \n                <td style=\"white-space:nowrap\">\n            \n            \n                  <b>Code</b>\n          \n          \n                </td>\n          \n          \n                <td>\n            \n            \n                  <b>Display</b>\n          \n          \n                </td>\n          \n          \n                <td>\n            \n            \n                  <b>Definition</b>\n          \n          \n                </td>\n        \n        \n              </tr>\n        \n        \n              <tr>\n          \n          \n                <td style=\"white-space:nowrap\">draft\n            \n            \n                  <a name=\"consent-state-codes-draft\"> </a>\n          \n          \n                </td>\n          \n          \n                <td>Pending</td>\n          \n          \n                <td>The consent is in development or awaiting use but is not yet intended to be acted upon.</td>\n        \n        \n              </tr>\n        \n        \n              <tr>\n          \n          \n                <td style=\"white-space:nowrap\">proposed\n            \n            \n                  <a name=\"consent-state-codes-proposed\"> </a>\n          \n          \n                </td>\n          \n          \n                <td>Proposed</td>\n          \n          \n                <td>The consent has been proposed but not yet agreed to by all parties. The negotiation stage.</td>\n        \n        \n              </tr>\n        \n        \n              <tr>\n          \n          \n                <td style=\"white-space:nowrap\">active\n            \n            \n                  <a name=\"consent-state-codes-active\"> </a>\n          \n          \n                </td>\n          \n          \n                <td>Active</td>\n          \n          \n                <td>The consent is to be followed and enforced.</td>\n        \n        \n              </tr>\n        \n        \n              <tr>\n          \n          \n                <td style=\"white-space:nowrap\">rejected\n            \n            \n                  <a name=\"consent-state-codes-rejected\"> </a>\n          \n          \n                </td>\n          \n          \n                <td>Rejected</td>\n          \n          \n                <td>The consent has been rejected by one or more of the parties.</td>\n        \n        \n              </tr>\n        \n        \n              <tr>\n          \n          \n                <td style=\"white-space:nowrap\">inactive\n            \n            \n                  <a name=\"consent-state-codes-inactive\"> </a>\n          \n          \n                </td>\n          \n          \n                <td>Inactive</td>\n          \n          \n                <td>The consent is terminated or replaced.</td>\n        \n        \n              </tr>\n        \n        \n              <tr>\n          \n          \n                <td style=\"white-space:nowrap\">entered-in-error\n            \n            \n                  <a name=\"consent-state-codes-entered-in-error\"> </a>\n          \n          \n                </td>\n          \n          \n                <td>Entered in Error</td>\n          \n          \n                <td>The consent was created wrongly (e.g. wrong patient) and should be ignored.</td>\n        \n        \n              </tr>\n      \n      \n            </table>\n    \n    \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 2
     ]
  ] [
     fhir:extension ( [
       fhir:url [
         fhir:v "packageId"^^xsd:anyURI ;
         fhir:l fhir:packageId
       ] ;
       fhir:value [
         a fhir:Id ;
         fhir:v "hl7.fhir.uv.xver-r4b.r5"
       ]
     ] [
       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-r4b.r5"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4b.r5>
       ]
     ] ) ;
     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 "cbcc"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/consent-state-codes"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/consent-state-codes>
  ] ; # 
  fhir:version [ fhir:v "4.3.0"] ; # 
  fhir:name [ fhir:v "ConsentState"] ; # 
  fhir:title [ fhir:v "ConsentState"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2021-01-16T14:06:13-06:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Community Based Collaborative Care"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Community Based Collaborative Care" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/cbcc" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Indicates the state of the consent."] ; # 
  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/consent-state-codes|5.0.0"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/consent-state-codes?version=5.0.0>
  ] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "draft" ] ;
     fhir:display [ fhir:v "Pending" ] ;
     fhir:definition [ fhir:v "The consent is in development or awaiting use but is not yet intended to be acted upon." ]
  ] [
     fhir:code [ fhir:v "proposed" ] ;
     fhir:display [ fhir:v "Proposed" ] ;
     fhir:definition [ fhir:v "The consent has been proposed but not yet agreed to by all parties. The negotiation stage." ]
  ] [
     fhir:code [ fhir:v "active" ] ;
     fhir:display [ fhir:v "Active" ] ;
     fhir:definition [ fhir:v "The consent is to be followed and enforced." ]
  ] [
     fhir:code [ fhir:v "rejected" ] ;
     fhir:display [ fhir:v "Rejected" ] ;
     fhir:definition [ fhir:v "The consent has been rejected by one or more of the parties." ]
  ] [
     fhir:code [ fhir:v "inactive" ] ;
     fhir:display [ fhir:v "Inactive" ] ;
     fhir:definition [ fhir:v "The consent is terminated or replaced." ]
  ] [
     fhir:code [ fhir:v "entered-in-error" ] ;
     fhir:display [ fhir:v "Entered in Error" ] ;
     fhir:definition [ fhir:v "The consent was created wrongly (e.g. wrong patient) and should be ignored." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

