HL7 Version 2 to FHIR
1.0.0 - STU 1 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 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 RPT to Timing Map - TTL Representation

Page standards status: Informative

Raw ttl | Download


@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:ConceptMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "datatype-rpt-to-timing"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ConceptMap datatype-rpt-to-timing</b></p><a name=\"datatype-rpt-to-timing\"> </a><a name=\"hcdatatype-rpt-to-timing\"> </a><p>Mapping from (not specified) to (not specified)</p><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=\"3\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"2\"><b>Target Concept Details</b></td></tr><tr><td colspan=\"2\"><b>Codes</b> from </td><td><b>ComputableANTLR</b></td><td/><td colspan=\"2\"><b>Codes</b> from </td></tr><tr><td style=\"border-right-width: 0px\">RPT.1</td><td style=\"border-left-width: 0px\">Repeat Pattern Code</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">code</td><td style=\"border-left-width: 0px\">code</td></tr><tr><td style=\"border-right-width: 0px\">RPT.3</td><td style=\"border-left-width: 0px\">Phase Range Begin Value</td><td>IF RPT.2 = \"DW\"</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">repeat.dayOfWeek[1]</td><td style=\"border-left-width: 0px\">repeat.dayOfWeek[1]</td></tr><tr><td style=\"border-right-width: 0px\">RPT.4</td><td style=\"border-left-width: 0px\">Phase Range End Value</td><td>IF RPT.2 = \"DW\"</td><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">repeat.dayOfWeek[2]</td><td style=\"border-left-width: 0px\">repeat.dayOfWeek[2]</td></tr><tr><td style=\"border-right-width: 0px\">RPT.5</td><td style=\"border-left-width: 0px\">Period Quantity</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">repeat.period</td><td style=\"border-left-width: 0px\">repeat.period</td></tr><tr><td style=\"border-right-width: 0px\">RPT.6</td><td style=\"border-left-width: 0px\">Period Units</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">repeat.periodUnit</td><td style=\"border-left-width: 0px\">repeat.periodUnit</td></tr><tr><td style=\"border-right-width: 0px\">RPT.8</td><td style=\"border-left-width: 0px\">Event</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">repeat.when</td><td style=\"border-left-width: 0px\">repeat.when</td></tr><tr><td style=\"border-right-width: 0px\">RPT.9</td><td style=\"border-left-width: 0px\">Event Offset Quantity</td><td/><td><a href=\"http://hl7.org/fhir/R5/codesystem-concept-map-relationship.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">repeat.offset</td><td style=\"border-left-width: 0px\">repeat.offset</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
    ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "derived-from"       ]     ] [
fhir:url [ fhir:v "label"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "Datatype RPT to Timing.fsh"       ]     ] [
fhir:url [ fhir:v "url"^^xsd:anyURI ] ;
fhir:value [
a fhir:uri ;
fhir:v "https://docs.google.com/spreadsheets/d/1C6fGBJDwx5EkYnOwYNvwuDmKsb55pCVWW3Odn9QysIQ/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/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "oo"     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "informative" ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
fhir:value [
a fhir:canonical ;
fhir:v "http://hl7.org/fhir/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings>         ]       ] )     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/ConceptMap/datatype-rpt-to-timing"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "DatatypeRPTToTiming"] ; # 
  fhir:title [ fhir:v "Datatype RPT to Timing Map"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:date [ fhir:v "2025-08-25"^^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:description [ fhir:v "This ConceptMap represents a mapping from the HL7 V2 Datatype RPT to the FHIR Timing 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) 2025, HL7 International, Inc., All Rights Reserved."] ; # 
  fhir:group ( [
    ( fhir:element [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "CWE"           ]         ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1           ]         ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
fhir:code [ fhir:v "RPT.1" ] ;
fhir:display [ fhir:v "Repeat Pattern Code" ] ;
      ( fhir:target [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "CodeableConcept"             ]           ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1             ]           ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1             ]           ] [
fhir:url [ fhir:v "mappedVia"^^xsd:anyURI ] ;
fhir:value [
a fhir:url ;
fhir:v "ConceptMap/table-hl70335-to-v2-0335"^^xsd:anyURI             ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "code" ] ;
fhir:display [ fhir:v "code" ] ;
fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "NM"           ]         ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 0           ]         ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
fhir:code [ fhir:v "RPT.3" ] ;
fhir:display [ fhir:v "Phase Range Begin Value" ] ;
      ( fhir:target [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "code"             ]           ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1             ]           ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1             ]           ] [
fhir:url [ fhir:v "assignment"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "/translate number to day/"             ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "repeat.dayOfWeek[1]" ] ;
fhir:display [ fhir:v "repeat.dayOfWeek[1]" ] ;
fhir:equivalence [ fhir:v "equivalent" ] ;
        ( fhir:dependsOn [
fhir:property [ fhir:v "Computable-ANTLR"^^xsd:anyURI ] ;
fhir:value [ fhir:v "IF RPT.2 = \"DW\"" ]         ] )       ] )     ] [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "NM"           ]         ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 0           ]         ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
fhir:code [ fhir:v "RPT.4" ] ;
fhir:display [ fhir:v "Phase Range End Value" ] ;
      ( fhir:target [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "code"             ]           ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1             ]           ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1             ]           ] [
fhir:url [ fhir:v "assignment"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "/translate number to day/"             ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "repeat.dayOfWeek[2]" ] ;
fhir:display [ fhir:v "repeat.dayOfWeek[2]" ] ;
fhir:equivalence [ fhir:v "equivalent" ] ;
        ( fhir:dependsOn [
fhir:property [ fhir:v "Computable-ANTLR"^^xsd:anyURI ] ;
fhir:value [ fhir:v "IF RPT.2 = \"DW\"" ]         ] )       ] )     ] [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "NM"           ]         ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 0           ]         ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
fhir:code [ fhir:v "RPT.5" ] ;
fhir:display [ fhir:v "Period Quantity" ] ;
      ( fhir:target [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "decimal"             ]           ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1             ]           ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1             ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "repeat.period" ] ;
fhir:display [ fhir:v "repeat.period" ] ;
fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "CWE"           ]         ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 0           ]         ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
fhir:code [ fhir:v "RPT.6" ] ;
fhir:display [ fhir:v "Period Units" ] ;
      ( fhir:target [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "code"             ]           ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1             ]           ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1             ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "repeat.periodUnit" ] ;
fhir:display [ fhir:v "repeat.periodUnit" ] ;
fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "ID"           ]         ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 0           ]         ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
fhir:code [ fhir:v "RPT.8" ] ;
fhir:display [ fhir:v "Event" ] ;
      ( fhir:target [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "code"             ]           ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1             ]           ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1             ]           ] [
fhir:url [ fhir:v "mappedVia"^^xsd:anyURI ] ;
fhir:value [
a fhir:url ;
fhir:v "ConceptMap/table-hl70528-to-v3-timingevent"^^xsd:anyURI             ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "repeat.when" ] ;
fhir:display [ fhir:v "repeat.when" ] ;
fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] [
      ( fhir:extension [
        ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "NM"           ]         ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 0           ]         ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1           ]         ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]       ] ) ;
fhir:code [ fhir:v "RPT.9" ] ;
fhir:display [ fhir:v "Event Offset Quantity" ] ;
      ( fhir:target [
        ( fhir:extension [
          ( fhir:extension [
fhir:url [ fhir:v "type"^^xsd:anyURI ] ;
fhir:value [
a fhir:code ;
fhir:v "unsignedInt"             ]           ] [
fhir:url [ fhir:v "cardinalityMin"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1             ]           ] [
fhir:url [ fhir:v "cardinalityMax"^^xsd:anyURI ] ;
fhir:value [
a fhir:integer ;
fhir:v 1             ]           ] [
fhir:url [ fhir:v "assignment"^^xsd:anyURI ] ;
fhir:value [
a fhir:string ;
fhir:v "/convert to minutes based on RPT.10/"             ]           ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"^^xsd:anyURI ]         ] ) ;
fhir:code [ fhir:v "repeat.offset" ] ;
fhir:display [ fhir:v "repeat.offset" ] ;
fhir:equivalence [ fhir:v "equivalent" ]       ] )     ] )
  ] ) . #