@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/research-subject-state-type> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "research-subject-state-type"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This code system <code>http://terminology.hl7.org/CodeSystem/research-subject-state-type</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\">Milestone<a name=\"research-subject-state-type-Milestone\"> </a></td><td>Milestone status</td><td>One of a set of milestone events that once they have occurred remain true thereafter.  For example once a subject has reached the \"Signed Informed Consent\" milestone they achieve a status of \"Consented\" that will be true thereafter, even when they have left the study.  For a subject a number of these states can be simulataneously true and should be recorded.</td></tr><tr><td style=\"white-space:nowrap\">Enrollment<a name=\"research-subject-state-type-Enrollment\"> </a></td><td>Enrollment status</td><td>This is a status that can only have a single value at a given point in time.  The subject is either on-study or off-study.</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     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://terminology.hl7.org/CodeSystem/research-subject-state-type"^^xsd:anyURI ;
     fhir:l <http://terminology.hl7.org/CodeSystem/research-subject-state-type>
  ] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "ResearchSubjectStateType"] ; # 
  fhir:title [ fhir:v "ResearchSubjectStateType"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2020-04-09T16:10:28-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 "Identifies the kind of state being refered to."] ; # 
  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://terminology.hl7.org/ValueSet/research-subject-state-type|1.0.1"^^xsd:anyURI ;
     fhir:l <http://terminology.hl7.org/ValueSet/research-subject-state-type?version=1.0.1>
  ] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "Milestone" ] ;
     fhir:display [ fhir:v "Milestone status" ] ;
     fhir:definition [ fhir:v "One of a set of milestone events that once they have occurred remain true thereafter.  For example once a subject has reached the \"Signed Informed Consent\" milestone they achieve a status of \"Consented\" that will be true thereafter, even when they have left the study.  For a subject a number of these states can be simulataneously true and should be recorded." ]
  ] [
     fhir:code [ fhir:v "Enrollment" ] ;
     fhir:display [ fhir:v "Enrollment status" ] ;
     fhir:definition [ fhir:v "This is a status that can only have a single value at a given point in time.  The subject is either on-study or off-study." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

