@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://terminology.hl7.org/CodeSystem/state-change-reason> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "state-change-reason"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2020-04-09T21:10:28.568+00:00"^^xsd:dateTime ]
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem state-change-reason</b></p><a name=\"state-change-reason\"> </a><a name=\"hcstate-change-reason\"> </a><a name=\"state-change-reason-en-US\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Last updated: 2020-04-09 21:10:28+0000</p></div><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/state-change-reason</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">adverseEvent<a name=\"state-change-reason-adverseEvent\"> </a></td><td>adverse event</td><td>adverse event.</td></tr><tr><td style=\"white-space:nowrap\">death<a name=\"state-change-reason-death\"> </a></td><td>death (adverse event)</td><td>death (adverse event).</td></tr><tr><td style=\"white-space:nowrap\">notEligible<a name=\"state-change-reason-notEligible\"> </a></td><td>did not meet eligibility criteria</td><td>did not meet eligibility criteria.</td></tr><tr><td style=\"white-space:nowrap\">eligibleButNo<a name=\"state-change-reason-eligibleButNo\"> </a></td><td>eligible but unwilling or unable to participate</td><td>eligible but unwilling or unable to participate.</td></tr><tr><td style=\"white-space:nowrap\">enrolled<a name=\"state-change-reason-enrolled\"> </a></td><td>enrolled or registered</td><td>enrolled or registered.</td></tr><tr><td style=\"white-space:nowrap\">exclusion<a name=\"state-change-reason-exclusion\"> </a></td><td>exclusion</td><td>exclusion.</td></tr><tr><td style=\"white-space:nowrap\">followUpComplete<a name=\"state-change-reason-followUpComplete\"> </a></td><td>follow-up complete</td><td>follow-up complete.</td></tr><tr><td style=\"white-space:nowrap\">inclusion<a name=\"state-change-reason-inclusion\"> </a></td><td>inclusion</td><td>inclusion.</td></tr><tr><td style=\"white-space:nowrap\">informedConsentSigned<a name=\"state-change-reason-informedConsentSigned\"> </a></td><td>Informed consent signed</td><td>Informed consent signed.</td></tr><tr><td style=\"white-space:nowrap\">intOrObsComplete<a name=\"state-change-reason-intOrObsComplete\"> </a></td><td>intervention or observation complete</td><td>intervention or observation complete.</td></tr><tr><td style=\"white-space:nowrap\">nonCompliance<a name=\"state-change-reason-nonCompliance\"> </a></td><td>non-compliance</td><td>non-compliance.</td></tr><tr><td style=\"white-space:nowrap\">preReg<a name=\"state-change-reason-preReg\"> </a></td><td>pre-registered or slot reserved</td><td>pre-registered or slot reserved.</td></tr><tr><td style=\"white-space:nowrap\">refuseConsent<a name=\"state-change-reason-refuseConsent\"> </a></td><td>refuse consent</td><td>refuse consent.</td></tr><tr><td style=\"white-space:nowrap\">screenFailure<a name=\"state-change-reason-screenFailure\"> </a></td><td>screen failure</td><td>screen failure.</td></tr><tr><td style=\"white-space:nowrap\">studyClosed<a name=\"state-change-reason-studyClosed\"> </a></td><td>study permanently closed to accrual</td><td>study permanently closed to accrual.</td></tr><tr><td style=\"white-space:nowrap\">studyTerminated<a name=\"state-change-reason-studyTerminated\"> </a></td><td>study terminated</td><td>study terminated.</td></tr><tr><td style=\"white-space:nowrap\">subjectRefusal<a name=\"state-change-reason-subjectRefusal\"> </a></td><td>subject refusal</td><td>subject refusal.</td></tr><tr><td style=\"white-space:nowrap\">unwillingOrUnable<a name=\"state-change-reason-unwillingOrUnable\"> </a></td><td>unwilling or unable to participate</td><td>unwilling or unable to participate.</td></tr><tr><td style=\"white-space:nowrap\">withdrawnConsent<a name=\"state-change-reason-withdrawnConsent\"> </a></td><td>withdrawn consent</td><td>withdrawn consent.</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "brr"
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:integer ;
       fhir:v "1"^^xsd:integer
     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/state-change-reason"^^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.4.642.1.0" ]
  ] ) ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "StateChangeReason"] ; # 
  fhir:title [ fhir:v "StateChangeReason"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2020-04-09T21:10:28+00:00"^^xsd:dateTime] ; # 
  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 "Indicates why the state of the subject changed."] ; # 
  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.html"] ; # 
  fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:valueSet [
     fhir:v "http://terminology.hl7.org/ValueSet/state-change-reason"^^xsd:anyURI ;
     fhir:link <http://terminology.hl7.org/ValueSet/state-change-reason>
  ] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "adverseEvent" ] ;
     fhir:display [ fhir:v "adverse event" ] ;
     fhir:definition [ fhir:v "adverse event." ]
  ] [
     fhir:code [ fhir:v "death" ] ;
     fhir:display [ fhir:v "death (adverse event)" ] ;
     fhir:definition [ fhir:v "death (adverse event)." ]
  ] [
     fhir:code [ fhir:v "notEligible" ] ;
     fhir:display [ fhir:v "did not meet eligibility criteria" ] ;
     fhir:definition [ fhir:v "did not meet eligibility criteria." ]
  ] [
     fhir:code [ fhir:v "eligibleButNo" ] ;
     fhir:display [ fhir:v "eligible but unwilling or unable to participate" ] ;
     fhir:definition [ fhir:v "eligible but unwilling or unable to participate." ]
  ] [
     fhir:code [ fhir:v "enrolled" ] ;
     fhir:display [ fhir:v "enrolled or registered" ] ;
     fhir:definition [ fhir:v "enrolled or registered." ]
  ] [
     fhir:code [ fhir:v "exclusion" ] ;
     fhir:display [ fhir:v "exclusion" ] ;
     fhir:definition [ fhir:v "exclusion." ]
  ] [
     fhir:code [ fhir:v "followUpComplete" ] ;
     fhir:display [ fhir:v "follow-up complete" ] ;
     fhir:definition [ fhir:v "follow-up complete." ]
  ] [
     fhir:code [ fhir:v "inclusion" ] ;
     fhir:display [ fhir:v "inclusion" ] ;
     fhir:definition [ fhir:v "inclusion." ]
  ] [
     fhir:code [ fhir:v "informedConsentSigned" ] ;
     fhir:display [ fhir:v "Informed consent signed" ] ;
     fhir:definition [ fhir:v "Informed consent signed." ]
  ] [
     fhir:code [ fhir:v "intOrObsComplete" ] ;
     fhir:display [ fhir:v "intervention or observation complete" ] ;
     fhir:definition [ fhir:v "intervention or observation complete." ]
  ] [
     fhir:code [ fhir:v "nonCompliance" ] ;
     fhir:display [ fhir:v "non-compliance" ] ;
     fhir:definition [ fhir:v "non-compliance." ]
  ] [
     fhir:code [ fhir:v "preReg" ] ;
     fhir:display [ fhir:v "pre-registered or slot reserved" ] ;
     fhir:definition [ fhir:v "pre-registered or slot reserved." ]
  ] [
     fhir:code [ fhir:v "refuseConsent" ] ;
     fhir:display [ fhir:v "refuse consent" ] ;
     fhir:definition [ fhir:v "refuse consent." ]
  ] [
     fhir:code [ fhir:v "screenFailure" ] ;
     fhir:display [ fhir:v "screen failure" ] ;
     fhir:definition [ fhir:v "screen failure." ]
  ] [
     fhir:code [ fhir:v "studyClosed" ] ;
     fhir:display [ fhir:v "study permanently closed to accrual" ] ;
     fhir:definition [ fhir:v "study permanently closed to accrual." ]
  ] [
     fhir:code [ fhir:v "studyTerminated" ] ;
     fhir:display [ fhir:v "study terminated" ] ;
     fhir:definition [ fhir:v "study terminated." ]
  ] [
     fhir:code [ fhir:v "subjectRefusal" ] ;
     fhir:display [ fhir:v "subject refusal" ] ;
     fhir:definition [ fhir:v "subject refusal." ]
  ] [
     fhir:code [ fhir:v "unwillingOrUnable" ] ;
     fhir:display [ fhir:v "unwilling or unable to participate" ] ;
     fhir:definition [ fhir:v "unwilling or unable to participate." ]
  ] [
     fhir:code [ fhir:v "withdrawnConsent" ] ;
     fhir:display [ fhir:v "withdrawn consent" ] ;
     fhir:definition [ fhir:v "withdrawn consent." ]
  ] ) . # 

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

