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

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

[] a fhir:CodeSystem ;
  fhir:id [ fhir:v "research-subject-state"] ;
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2024-04-24T00:00:00+00:00" ]
  ] ;
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ;
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:value [ fhir:v "brr" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ;
     fhir:value [ fhir:v "1" ]
  ] ) ;
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/research-subject-state"], [ fhir:v "http://terminology.hl7.org/CodeSystem/research-subject-state"] ;
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.0" ]
  ] [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.0" ]
  ] ) ;
  fhir:version [ fhir:v "1.0.1"], [ fhir:v "1.0.1"] ;
  fhir:name [ fhir:v "ResearchSubjectState"], [ fhir:v "ResearchSubjectState"] ;
  fhir:title [ fhir:v "ResearchSubjectState"], [ fhir:v "ResearchSubjectState"] ;
  fhir:status [ fhir:v "active"], [ fhir:v "active"] ;
  fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ;
  fhir:date [ fhir:v "2024-04-24T00:00:00+00:00"], [ fhir:v "2024-04-24T00:00:00+00:00"] ;
  fhir:publisher [ fhir:v "Health Level Seven International"], [ 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: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 the progression of a study subject through a study."], [ fhir:v "Indicates the progression of a study subject through a study."] ;
  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"], [ 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"] ;
  fhir:caseSensitive [ fhir:v "true"] ;
  fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/research-subject-state"] ;
  fhir:content [ fhir:v "complete"] ;
  fhir:concept ( [
     fhir:code [ fhir:v "candidate" ] ;
     fhir:display [ fhir:v "Candidate" ] ;
     fhir:definition [ fhir:v "An identified person that can be considered for inclusion in a study." ]
  ] [
     fhir:code [ fhir:v "eligible" ] ;
     fhir:display [ fhir:v "Eligible" ] ;
     fhir:definition [ fhir:v "A person that has met the eligibility criteria for inclusion in a study." ]
  ] [
     fhir:code [ fhir:v "follow-up" ] ;
     fhir:display [ fhir:v "Follow-up" ] ;
     fhir:definition [ fhir:v "A person is no longer receiving study intervention and/or being evaluated with tests and procedures according to the protocol, but they are being monitored on a protocol-prescribed schedule." ]
  ] [
     fhir:code [ fhir:v "ineligible" ] ;
     fhir:display [ fhir:v "Ineligible" ] ;
     fhir:definition [ fhir:v "A person who did not meet one or more criteria required for participation in a study is considered to have failed screening or\nis ineligible for the study." ]
  ] [
     fhir:code [ fhir:v "not-registered" ] ;
     fhir:display [ fhir:v "Not Registered" ] ;
     fhir:definition [ fhir:v "A person for whom registration was not completed." ]
  ] [
     fhir:code [ fhir:v "off-study" ] ;
     fhir:display [ fhir:v "Off-study" ] ;
     fhir:definition [ fhir:v "A person that has ended their participation on a study either because their treatment/observation is complete or through not\nresponding, withdrawal, non-compliance and/or adverse event." ]
  ] [
     fhir:code [ fhir:v "on-study" ] ;
     fhir:display [ fhir:v "On-study" ] ;
     fhir:definition [ fhir:v "A person that is enrolled or registered on a study." ]
  ] [
     fhir:code [ fhir:v "on-study-intervention" ] ;
     fhir:display [ fhir:v "On-study-intervention" ] ;
     fhir:definition [ fhir:v "The person is receiving the treatment or participating in an activity (e.g. yoga, diet, etc.) that the study is evaluating." ]
  ] [
     fhir:code [ fhir:v "on-study-observation" ] ;
     fhir:display [ fhir:v "On-study-observation" ] ;
     fhir:definition [ fhir:v "The subject is being evaluated via tests and assessments according to the study calendar, but is not receiving any intervention. Note that this state is study-dependent and might not exist in all studies.  A synonym for this is \"short-term follow-up\"." ]
  ] [
     fhir:code [ fhir:v "pending-on-study" ] ;
     fhir:display [ fhir:v "Pending on-study" ] ;
     fhir:definition [ fhir:v "A person is pre-registered for a study." ]
  ] [
     fhir:code [ fhir:v "potential-candidate" ] ;
     fhir:display [ fhir:v "Potential Candidate" ] ;
     fhir:definition [ fhir:v "A person that is potentially eligible for participation in the study." ]
  ] [
     fhir:code [ fhir:v "screening" ] ;
     fhir:display [ fhir:v "Screening" ] ;
     fhir:definition [ fhir:v "A person who is being evaluated for eligibility for a study." ]
  ] [
     fhir:code [ fhir:v "withdrawn" ] ;
     fhir:display [ fhir:v "Withdrawn" ] ;
     fhir:definition [ fhir:v "The person has withdrawn their participation in the study before registration." ]
  ] ) .

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

