Release 5 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v5.0.0: R5 - STU ). This is the current published version in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). For a full list of available versions, see times).
See the Directory of published versions

Example CodeSystem/specimen-role (Turtle)

Maturity Level : N/A
Responsible Owner: Orders and Observations Work Group Standards Status : Informative

Raw Turtle (+ also see Turtle/RDF Format Specification )

Definition for Code SystemSpecimenRole

@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 -------------------------------------------------------------------

[] a fhir:CodeSystem ;
  fhir:id [ fhir:v "specimen-role"] ;

<http://hl7.org/fhir/CodeSystem/specimen-role> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "specimen-role"] ; # 

  fhir:meta [
     fhir:lastUpdated [ fhir:v "2023-03-26T15:21:02.749+11:00" ] ;
     fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ] )
  ] ;

     fhir:lastUpdated [ fhir:v "2025-11-27T16:48:47.349+00:00"^^xsd:dateTime ]
  ] ; # 

  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ;

     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem specimen-role</b></p><a name=\"specimen-role\"> </a><a name=\"hcspecimen-role\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/specimen-role</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\">b<a name=\"specimen-role-b\"> </a></td><td>Blind Sample</td><td>Used to test the validity of the measurement process, where the composition of the sample is unknown except to the person submitting it.</td></tr><tr><td style=\"white-space:nowrap\">c<a name=\"specimen-role-c\"> </a></td><td>Calibrator</td><td>Used for initial setting of calibration of the instrument.</td></tr><tr><td style=\"white-space:nowrap\">e<a name=\"specimen-role-e\"> </a></td><td>Electronic QC</td><td>Used with manufactured reference providing signals that simulate QC results.</td></tr><tr><td style=\"white-space:nowrap\">f<a name=\"specimen-role-f\"> </a></td><td>Filler Organization Proficiency</td><td>Specimen used for testing proficiency of the organization performing the testing (Filler).</td></tr><tr><td style=\"white-space:nowrap\">o<a name=\"specimen-role-o\"> </a></td><td>Operator Proficiency</td><td>Specimen used for testing Operator Proficiency.</td></tr><tr><td style=\"white-space:nowrap\">p<a name=\"specimen-role-p\"> </a></td><td>Patient</td><td>Used for any patient sample.</td></tr><tr><td style=\"white-space:nowrap\">q<a name=\"specimen-role-q\"> </a></td><td>Control specimen</td><td>Used when specimen is the control specimen (either positive or negative).</td></tr><tr><td style=\"white-space:nowrap\">r<a name=\"specimen-role-r\"> </a></td><td>Replicate (of patient sample as a control)</td><td>Used when a patient sample is re-run as a control for a repeat test.</td></tr><tr><td style=\"white-space:nowrap\">v<a name=\"specimen-role-v\"> </a></td><td>Verifying Calibrator</td><td>Used for periodic calibration checks.</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 

  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:value [ fhir:v "oo" ]

     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 "oo"
     ]

  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
     fhir:value [ fhir:v "trial-use" ]

     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 "normative"
     ]

  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ;
     fhir:value [ fhir:v "2" ]
  ] ) ;
  fhir:url [ fhir:v "http://hl7.org/fhir/specimen-role"], [ fhir:v "http://hl7.org/fhir/specimen-role"] ;

     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:url [
     fhir:v "http://hl7.org/fhir/specimen-role"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/specimen-role>
  ] ; # 

  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.2060" ]
  ] [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;

     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;

     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.2060" ]
  ] ) ;
  fhir:version [ fhir:v "5.0.0"], [ fhir:v "5.0.0"] ;
  fhir:name [ fhir:v "SpecimenRole"], [ fhir:v "SpecimenRole"] ;
  fhir:title [ fhir:v "Specimen Role"], [ fhir:v "Specimen Role"] ;
  fhir:status [ fhir:v "active"], [ fhir:v "active"] ;
  fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ;
  fhir:date [ fhir:v "2021-01-05T10:01:24+11:00"], [ fhir:v "2021-01-05T10:01:24+11:00"] ;
  fhir:publisher [ fhir:v "HL7 (FHIR Project)"], [ fhir:v "HL7 (FHIR Project)"] ;

  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot3"] ; # 
  fhir:name [ fhir:v "SpecimenRole"] ; # 
  fhir:title [ fhir:v "Specimen Role"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2021-01-05T10:01:24+11:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 (FHIR Project)"] ; # 

  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "fhir@lists.hl7.org" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org/fhir" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "fhir@lists.hl7.org" ]
     ] )
  ] ) ;
  fhir:description [ fhir:v "Codes providing the combined status of the specimen."], [ fhir:v "Codes providing the combined status of the specimen."] ;

  ] ) ; # 
  fhir:description [ fhir:v "Codes providing the combined status of the specimen."] ; # 

  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;

       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/specimen-role"] ;
  fhir:content [ fhir:v "complete"] ;

  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/specimen-role"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/specimen-role>
  ] ; # 
  fhir:hierarchyMeaning [] ; # 
  fhir:content [ fhir:v "complete"] ; # 

  fhir:concept ( [
     fhir:code [ fhir:v "b" ] ;
     fhir:display [ fhir:v "Blind Sample" ] ;
     fhir:definition [ fhir:v "Used to test the validity of the measurement process, where the composition of the sample is unknown except to the person submitting it." ]
  ] [
     fhir:code [ fhir:v "c" ] ;
     fhir:display [ fhir:v "Calibrator" ] ;
     fhir:definition [ fhir:v "Used for initial setting of calibration of the instrument." ]
  ] [
     fhir:code [ fhir:v "e" ] ;
     fhir:display [ fhir:v "Electronic QC" ] ;
     fhir:definition [ fhir:v "Used with manufactured reference providing signals that simulate QC results." ]
  ] [
     fhir:code [ fhir:v "f" ] ;
     fhir:display [ fhir:v "Filler Organization Proficiency" ] ;
     fhir:definition [ fhir:v "Specimen used for testing proficiency of the organization performing the testing (Filler)." ]
  ] [
     fhir:code [ fhir:v "o" ] ;
     fhir:display [ fhir:v "Operator Proficiency" ] ;
     fhir:definition [ fhir:v "Specimen used for testing Operator Proficiency." ]
  ] [
     fhir:code [ fhir:v "p" ] ;
     fhir:display [ fhir:v "Patient" ] ;
     fhir:definition [ fhir:v "Used for any patient sample." ]
  ] [
     fhir:code [ fhir:v "q" ] ;
     fhir:display [ fhir:v "Control specimen" ] ;
     fhir:definition [ fhir:v "Used when specimen is the control specimen (either positive or negative)." ]
  ] [
     fhir:code [ fhir:v "r" ] ;
     fhir:display [ fhir:v "Replicate (of patient sample as a control)" ] ;
     fhir:definition [ fhir:v "Used when a patient sample is re-run as a control for a repeat test." ]
  ] [
     fhir:code [ fhir:v "v" ] ;
     fhir:display [ fhir:v "Verifying Calibrator" ] ;
     fhir:definition [ fhir:v "Used for periodic calibration checks." ]
  ] ) .

  ] ) . # 


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


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.