HL7 Version 2 to FHIR
1.0.0-ballot - ballot International flag

HL7 Version 2 to FHIR, published by HL7 International / Orders and Observations. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2-to-fhir/ and changes regularly. See the Directory of published versions

: Datatype SN to Ratio Map - TTL Representation

Active as of 2024-04-24

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:ConceptMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "datatype-sn-to-ratio"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Mapping from SN to <a href=\"http://hl7.org/fhir/R4/datatypes.html#Ratio\">Ratio</a></p><p>ACTIVE (not intended for production usage). Published on 2024-04-24 by HL7 International / Orders and Observations (HL7 Orders and Observations Workgroup: <a href=\"http://www.hl7.org/Special/committees/orders\">http://www.hl7.org/Special/com...</a>, Keith W. Boone: <a href=\"mailto:kboone@ainq.com\">kboone@ainq.com</a>, Rob Hausam: <a href=\"mailto:rrhausam@gmail.com\">rrhausam@gmail.com</a>). Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.</p><div><p>This ConceptMap represents a mapping from the HL7 V2 Datatype SN to the FHIR Ratio Data Type.</p>\n</div><br/><p><b>Group 1</b> Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class=\"grid\"><tr><td colspan=\"2\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"3\"><b>Target Concept Details</b></td><td colspan=\"3\"><b>Properties</b></td></tr><tr><td colspan=\"2\"><b>Codes</b> from </td><td/><td colspan=\"2\"><b>Codes</b> from </td><td><b>antlr</b></td></tr><tr><td style=\"border-right-width: 0px\">SN.1</td><td style=\"border-left-width: 0px\">Comparator</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">numerator.comparator</td><td style=\"border-left-width: 0px\">numerator.comparator</td><td>IF NOT EQUAL TO &quot;=&quot;</td></tr><tr><td style=\"border-right-width: 0px\">SN.2</td><td style=\"border-left-width: 0px\">Num1</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">numerator.value</td><td style=\"border-left-width: 0px\">numerator.value</td><td/></tr><tr><td style=\"border-right-width: 0px\">SN.4</td><td style=\"border-left-width: 0px\">Num2</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">denominator.value</td><td style=\"border-left-width: 0px\">denominator.value</td><td>IF SN.3 IN (&quot;/&quot;,&quot;&quot;)</td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
    ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [ fhir:v "derived-from" ]     ] [
fhir:url [ fhir:v "label"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Datatype SN to Ratio.fsh" ]     ] [
fhir:url [ fhir:v "url"^^xsd:anyURI ] ;
fhir:value [ fhir:v "https://docs.google.com/spreadsheets/d/19t5jrwRcmXNXjXcAXW0SEHlRGnBpMdm014C7CtIZ2XE/edit#gid=0"^^xsd:anyURI ]     ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"^^xsd:anyURI ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/datatype-sn-to-ratio"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.0.0-ballot"] ; # 
  fhir:name [ fhir:v "DatatypeSNToRatio"] ; # 
  fhir:title [ fhir:v "Datatype SN to Ratio Map"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2024-04-24"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "HL7 International / Orders and Observations"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "HL7 Orders and Observations Workgroup" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://www.hl7.org/Special/committees/orders" ]     ] )
  ] [
fhir:name [ fhir:v "Keith W. Boone" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "kboone@ainq.com" ]     ] )
  ] [
fhir:name [ fhir:v "Rob Hausam" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "rrhausam@gmail.com" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This ConceptMap represents a mapping from the HL7 V2 Datatype SN to the FHIR Ratio Data Type."] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ]     ] )
  ] ) ; # 
  fhir:copyright [ fhir:v "Copyright (c) 2020, HL7 International, Inc., All Rights Reserved."] ; # 
  fhir:source [ fhir:v "SN"^^xsd:anyURI] ; # 
  fhir:target [ fhir:v "Ratio"^^xsd:anyURI] ; # 
  fhir:group ( [
    ( fhir:element [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [ fhir:v "ST" ]         ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [ fhir:v "0"^^xsd:integer ]         ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1"^^xsd:integer ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
fhir:code [ fhir:v "SN.1" ] ;
fhir:display [ fhir:v "Comparator" ] ;
      ( fhir:_target [
        ( fhir:modifierExtension [
fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "equivalent" ]         ] ) ;
fhir:code [ fhir:v "numerator.comparator" ] ;
fhir:display [ fhir:v "numerator.comparator" ] ;
fhir:equivalence [ fhir:v "equivalent" ] ;
        ( fhir:product [
fhir:property [ fhir:v "antlr"^^xsd:anyURI ] ;
fhir:value [ fhir:v "IF NOT EQUAL TO \"=\"" ]         ] )       ] )     ] [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [ fhir:v "NM" ]         ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [ fhir:v "0"^^xsd:integer ]         ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1"^^xsd:integer ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
fhir:code [ fhir:v "SN.2" ] ;
fhir:display [ fhir:v "Num1" ] ;
      ( fhir:_target [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [ fhir:v "decimal" ]           ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1"^^xsd:integer ]           ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1"^^xsd:integer ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
        ( fhir:modifierExtension [
fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "equivalent" ]         ] ) ;
fhir:code [ fhir:v "numerator.value" ] ;
fhir:display [ fhir:v "numerator.value" ] ;
fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [ fhir:v "NM" ]         ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [ fhir:v "0"^^xsd:integer ]         ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1"^^xsd:integer ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
fhir:code [ fhir:v "SN.4" ] ;
fhir:display [ fhir:v "Num2" ] ;
      ( fhir:_target [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [ fhir:v "decimal" ]           ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1"^^xsd:integer ]           ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1"^^xsd:integer ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
        ( fhir:modifierExtension [
fhir:url [ fhir:v "http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "equivalent" ]         ] ) ;
fhir:code [ fhir:v "denominator.value" ] ;
fhir:display [ fhir:v "denominator.value" ] ;
fhir:equivalence [ fhir:v "equivalent" ] ;
        ( fhir:product [
fhir:property [ fhir:v "antlr"^^xsd:anyURI ] ;
fhir:value [ fhir:v "IF SN.3 IN (\"/\",\"\")" ]         ] )       ] )     ] )
  ] ) . #