Obligation Discussion
0.4.1 - Working Draft to present the Concept Ideas and Background Details (FO)

Obligation Discussion - Local Development build (v0.4.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Data Expectation Codes - TTL Representation

Active as of 2022-10-10

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

 a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "dataExpectation"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Properties</b></p><p><b>This code system defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Code</b></td><td><b>URI</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>parent</td><td>http://hl7.org/fhir/concept-properties#parent</td><td>code</td><td/></tr><tr><td>actor</td><td/><td>code</td><td>associated actor, i.e. to whom it may apply</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://v2.hl7.org/fhir/CodeSystem/dataExpectation</code> defines the following codes in a Is-A hierarchy:</p><table class=\"codes\"><tr><td><b>Lvl</b></td><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td><td><b>Parent</b></td><td><b>actor</b></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">expected<a name=\"dataExpectation-expected\"> </a></td><td>expected</td><td>data fits to expectations/specification</td><td/><td/></tr><tr><td>2</td><td style=\"white-space:nowrap\">  unaltered<a name=\"dataExpectation-unaltered\"> </a></td><td>preserve</td><td>preserve what you get</td><td><a href=\"#dataExpectation-expected\">expected</a></td><td/></tr><tr><td>3</td><td style=\"white-space:nowrap\">    exactly<a name=\"dataExpectation-exactly\"> </a></td><td>exactly</td><td>exactly what is specified, nothing else</td><td><a href=\"#dataExpectation-unaltered\">unaltered</a></td><td/></tr><tr><td>2</td><td style=\"white-space:nowrap\">  modify<a name=\"dataExpectation-modify\"> </a></td><td>modify</td><td>allow for modifications of the data</td><td><a href=\"#dataExpectation-expected\">expected</a></td><td>consumer</td></tr><tr><td>3</td><td style=\"white-space:nowrap\">    assocation<a name=\"dataExpectation-assocation\"> </a></td><td>assocation</td><td>taken by association</td><td><a href=\"#dataExpectation-modify\">modify</a></td><td/></tr><tr><td>3</td><td style=\"white-space:nowrap\">    equivalent<a name=\"dataExpectation-equivalent\"> </a></td><td>equivalent</td><td>in an equivalent way</td><td><a href=\"#dataExpectation-modify\">modify</a></td><td/></tr><tr><td>3</td><td style=\"white-space:nowrap\">    translate<a name=\"dataExpectation-translate\"> </a></td><td>translate</td><td>Data received is preserved by 1:1 mapping/translation to an internal value that is semantically equivalent, that preserves the temporal aspect of the translation.</td><td><a href=\"#dataExpectation-modify\">modify</a></td><td/></tr><tr><td>4</td><td style=\"white-space:nowrap\">      semantically<a name=\"dataExpectation-semantically\"> </a></td><td>translate semantically</td><td>Two concepts are semantically equivalent if they can substitute for each other in the defined use case with no loss of information used to define the concept.</td><td><a href=\"#dataExpectation-translate\">translate</a></td><td/></tr><tr><td>4</td><td style=\"white-space:nowrap\">      clinically<a name=\"dataExpectation-clinically\"> </a></td><td>translate clinically</td><td>Two concepts are clinically equivalent if they can substitute for each other in the defined use case with no impact on clinical interpretation by a trained clinician. This may include further refinements based on the specific domain, e.g., for Lab use case, this would require interpretation that includes the impact of differences in normal ranges.</td><td><a href=\"#dataExpectation-translate\">translate</a></td><td/></tr><tr><td>3</td><td style=\"white-space:nowrap\">    reference<a name=\"dataExpectation-reference\"> </a></td><td>reference</td><td>Use referenced data based on stored pointer; stored data is displayed by linking to the corresponding stored value most often the case for data elements that are STORED EXACT by ASSOCIATION.</td><td><a href=\"#dataExpectation-modify\">modify</a></td><td/></tr><tr><td>3</td><td style=\"white-space:nowrap\">    truncate<a name=\"dataExpectation-truncate\"> </a></td><td>cut off data</td><td>cut off remaining characters from the data thereby shortening the data</td><td><a href=\"#dataExpectation-modify\">modify</a></td><td/></tr><tr><td>3</td><td style=\"white-space:nowrap\">    more-details<a name=\"dataExpectation-more-details\"> </a></td><td>additional details/values</td><td>extends the expected data with more/own information, e.g. appartment if street is specified</td><td><a href=\"#dataExpectation-modify\">modify</a></td><td>creator</td></tr><tr><td>3</td><td style=\"white-space:nowrap\">    more-structure<a name=\"dataExpectation-more-structure\"> </a></td><td>additional substructures</td><td>provides the data with more granular details, e.g. house number for an address line</td><td><a href=\"#dataExpectation-modify\">modify</a></td><td>creator</td></tr><tr><td>3</td><td style=\"white-space:nowrap\">    missing<a name=\"dataExpectation-missing\"> </a></td><td>data is missing/not available</td><td>provide a null-flavor/absent reason</td><td><a href=\"#dataExpectation-modify\">modify</a></td><td>creator</td></tr><tr><td>3</td><td style=\"white-space:nowrap\">    constant<a name=\"dataExpectation-constant\"> </a></td><td>added as a constant</td><td>this value has no valid representation or meaning in the sending application, it is just added because it is required to be there</td><td><a href=\"#dataExpectation-modify\">modify</a></td><td/></tr><tr><td>1</td><td style=\"white-space:nowrap\">unexpected<a name=\"dataExpectation-unexpected\"> </a></td><td>unexpected values</td><td>how to manage unexpected data (as sender or receiver)</td><td/><td/></tr><tr><td>2</td><td style=\"white-space:nowrap\">  replaces<a name=\"dataExpectation-replaces\"> </a></td><td>new/other values</td><td>replaces the expected data by something else</td><td><a href=\"#dataExpectation-unexpected\">unexpected</a></td><td/></tr><tr><td>2</td><td style=\"white-space:nowrap\">  consider<a name=\"dataExpectation-consider\"> </a></td><td>consider unexpected values</td><td>take vare of values that are coming but not described/specified. Allows for warnings</td><td><a href=\"#dataExpectation-unexpected\">unexpected</a></td><td/></tr></table></div>"
  ] ; # 
  fhir:url [ fhir:v "http://v2.hl7.org/fhir/CodeSystem/dataExpectation"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "DataExpectation"] ; # 
  fhir:title [ fhir:v "Data Expectation Codes"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2022-10-10"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "FO"] ; # 
  fhir:description [ fhir:v "This is the codesystem describing exptectations for Data Handling.\nIt has to be discussed whether these codes can become more specialised activities!?"] ; # 
  fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:valueSet [
fhir:v "http://v2.hl7.org/fhir/ValueSet/dataExpectation"^^xsd:anyURI ;
fhir:link <http://v2.hl7.org/fhir/ValueSet/dataExpectation>
  ] ; # 
  fhir:hierarchyMeaning [ fhir:v "is-a"] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:count [ fhir:v "18"^^xsd:nonNegativeInteger] ; # 
  fhir:property ( [
fhir:code [ fhir:v "parent" ] ;
fhir:uri [ fhir:v "http://hl7.org/fhir/concept-properties#parent"^^xsd:anyURI ] ;
fhir:type [ fhir:v "code" ]
  ] [
fhir:code [ fhir:v "actor" ] ;
fhir:description [ fhir:v "associated actor, i.e. to whom it may apply" ] ;
fhir:type [ fhir:v "code" ]
  ] ) ; # 
  fhir:concept ( [
fhir:code [ fhir:v "expected" ] ;
fhir:display [ fhir:v "expected" ] ;
fhir:definition [ fhir:v "data fits to expectations/specification" ] ;
    ( fhir:concept [
fhir:code [ fhir:v "unaltered" ] ;
fhir:display [ fhir:v "preserve" ] ;
fhir:definition [ fhir:v "preserve what you get" ] ;
      ( fhir:property [
fhir:code [ fhir:v "parent" ] ;
fhir:value [ fhir:v "expected" ]       ] ) ;
      ( fhir:concept [
fhir:code [ fhir:v "exactly" ] ;
fhir:display [ fhir:v "exactly" ] ;
fhir:definition [ fhir:v "exactly what is specified, nothing else" ] ;
        ( fhir:property [
fhir:code [ fhir:v "parent" ] ;
fhir:value [ fhir:v "unaltered" ]         ] )       ] )     ] [
fhir:code [ fhir:v "modify" ] ;
fhir:display [ fhir:v "modify" ] ;
fhir:definition [ fhir:v "allow for modifications of the data" ] ;
      ( fhir:property [
fhir:code [ fhir:v "parent" ] ;
fhir:value [ fhir:v "expected" ]       ] [
fhir:code [ fhir:v "actor" ] ;
fhir:value [ fhir:v "consumer" ]       ] ) ;
      ( fhir:concept [
fhir:code [ fhir:v "assocation" ] ;
fhir:display [ fhir:v "assocation" ] ;
fhir:definition [ fhir:v "taken by association" ] ;
        ( fhir:property [
fhir:code [ fhir:v "parent" ] ;
fhir:value [ fhir:v "modify" ]         ] )       ] [
fhir:code [ fhir:v "equivalent" ] ;
fhir:display [ fhir:v "equivalent" ] ;
fhir:definition [ fhir:v "in an equivalent way" ] ;
        ( fhir:property [
fhir:code [ fhir:v "parent" ] ;
fhir:value [ fhir:v "modify" ]         ] )       ] [
fhir:code [ fhir:v "translate" ] ;
fhir:display [ fhir:v "translate" ] ;
fhir:definition [ fhir:v "Data received is preserved by 1:1 mapping/translation to an internal value that is semantically equivalent, that preserves the temporal aspect of the translation." ] ;
        ( fhir:property [
fhir:code [ fhir:v "parent" ] ;
fhir:value [ fhir:v "modify" ]         ] ) ;
        ( fhir:concept [
fhir:code [ fhir:v "semantically" ] ;
fhir:display [ fhir:v "translate semantically" ] ;
fhir:definition [ fhir:v "Two concepts are semantically equivalent if they can substitute for each other in the defined use case with no loss of information used to define the concept." ] ;
          ( fhir:property [
fhir:code [ fhir:v "parent" ] ;
fhir:value [ fhir:v "translate" ]           ] )         ] [
fhir:code [ fhir:v "clinically" ] ;
fhir:display [ fhir:v "translate clinically" ] ;
fhir:definition [ fhir:v "Two concepts are clinically equivalent if they can substitute for each other in the defined use case with no impact on clinical interpretation by a trained clinician. This may include further refinements based on the specific domain, e.g., for Lab use case, this would require interpretation that includes the impact of differences in normal ranges." ] ;
          ( fhir:property [
fhir:code [ fhir:v "parent" ] ;
fhir:value [ fhir:v "translate" ]           ] )         ] )       ] [
fhir:code [ fhir:v "reference" ] ;
fhir:display [ fhir:v "reference" ] ;
fhir:definition [ fhir:v "Use referenced data based on stored pointer; stored data is displayed by linking to the corresponding stored value most often the case for data elements that are STORED EXACT by ASSOCIATION." ] ;
        ( fhir:property [
fhir:code [ fhir:v "parent" ] ;
fhir:value [ fhir:v "modify" ]         ] )       ] [
fhir:code [ fhir:v "truncate" ] ;
fhir:display [ fhir:v "cut off data" ] ;
fhir:definition [ fhir:v "cut off remaining characters from the data thereby shortening the data" ] ;
        ( fhir:property [
fhir:code [ fhir:v "parent" ] ;
fhir:value [ fhir:v "modify" ]         ] )       ] [
fhir:code [ fhir:v "more-details" ] ;
fhir:display [ fhir:v "additional details/values" ] ;
fhir:definition [ fhir:v "extends the expected data with more/own information, e.g. appartment if street is specified" ] ;
        ( fhir:property [
fhir:code [ fhir:v "parent" ] ;
fhir:value [ fhir:v "modify" ]         ] [
fhir:code [ fhir:v "actor" ] ;
fhir:value [ fhir:v "creator" ]         ] )       ] [
fhir:code [ fhir:v "more-structure" ] ;
fhir:display [ fhir:v "additional substructures" ] ;
fhir:definition [ fhir:v "provides the data with more granular details, e.g. house number for an address line" ] ;
        ( fhir:property [
fhir:code [ fhir:v "parent" ] ;
fhir:value [ fhir:v "modify" ]         ] [
fhir:code [ fhir:v "actor" ] ;
fhir:value [ fhir:v "creator" ]         ] )       ] [
fhir:code [ fhir:v "missing" ] ;
fhir:display [ fhir:v "data is missing/not available" ] ;
fhir:definition [ fhir:v "provide a null-flavor/absent reason" ] ;
        ( fhir:property [
fhir:code [ fhir:v "parent" ] ;
fhir:value [ fhir:v "modify" ]         ] [
fhir:code [ fhir:v "actor" ] ;
fhir:value [ fhir:v "creator" ]         ] )       ] [
fhir:code [ fhir:v "constant" ] ;
fhir:display [ fhir:v "added as a constant" ] ;
fhir:definition [ fhir:v "this value has no valid representation or meaning in the sending application, it is just added because it is required to be there" ] ;
        ( fhir:property [
fhir:code [ fhir:v "parent" ] ;
fhir:value [ fhir:v "modify" ]         ] )       ] )     ] )
  ] [
fhir:code [ fhir:v "unexpected" ] ;
fhir:display [ fhir:v "unexpected values" ] ;
fhir:definition [ fhir:v "how to manage unexpected data (as sender or receiver)" ] ;
    ( fhir:concept [
fhir:code [ fhir:v "replaces" ] ;
fhir:display [ fhir:v "new/other values" ] ;
fhir:definition [ fhir:v "replaces the expected data by something else" ] ;
      ( fhir:property [
fhir:code [ fhir:v "parent" ] ;
fhir:value [ fhir:v "unexpected" ]       ] )     ] [
fhir:code [ fhir:v "consider" ] ;
fhir:display [ fhir:v "consider unexpected values" ] ;
fhir:definition [ fhir:v "take vare of values that are coming but not described/specified. Allows for warnings" ] ;
      ( fhir:property [
fhir:code [ fhir:v "parent" ] ;
fhir:value [ fhir:v "unexpected" ]       ] )     ] )
  ] ) . #