HL7 FHIR Implementation Guide: Sri Lanka
0.1.0 - STU1

HL7 FHIR Implementation Guide: Sri Lanka, published by Jembi Health Systems. This is not an authorized publication; it is the continuous build for version 0.1.0. This version is based on the current content of https://github.com/jembi/Sri-Lanka and changes regularly. See the Directory of published versions

## Logical Model: HIMSRiskBehaviourDataDictionary - TTL Profile

Active as of 2023-11-10

TTL representation of the HIMSRiskBehaviourDataDictionary logical model.

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:StructureDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "HIMSRiskBehaviourDataDictionary"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-HIMSRiskBehaviourDataDictionary-definitions.html#HIMSRiskBehaviourDataDictionary\" title=\"Data elements for the HIMS Risk Behaviour Data Dictionary.\">HIMSRiskBehaviourDataDictionary</a><a name=\"HIMSRiskBehaviourDataDictionary\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://build.fhir.org/types.html#Base\">Base</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">HIMS Risk Behaviour<br/><span style=\"font-weight:bold\">Instances of this logical model can be the target of a Reference</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-HIMSRiskBehaviourDataDictionary-definitions.html#HIMSRiskBehaviourDataDictionary.physicalActivity\" title=\"Physical activity status for the patient.\">physicalActivity</a><a name=\"HIMSRiskBehaviourDataDictionary.physicalActivity\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Physical activity<br/><span style=\"font-weight:bold\">Binding: </span><a href=\"ValueSet-vs-risk-behaviour-physical-activity.html\">Physical Activity</a> (<a href=\"http://hl7.org/fhir/R4/terminologies.html#extensible\" title=\"To be conformant, the concept in this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated.  If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.\">extensible</a>)</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-HIMSRiskBehaviourDataDictionary-definitions.html#HIMSRiskBehaviourDataDictionary.tobaccoSmoking\" title=\"Tobacco smoking status for the patient.\">tobaccoSmoking</a><a name=\"HIMSRiskBehaviourDataDictionary.tobaccoSmoking\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Tobacco smoking<br/><span style=\"font-weight:bold\">Binding: </span><a href=\"ValueSet-vs-risk-behaviour-tobacco-smoker.html\">Tobacco Smoker</a> (<a href=\"http://hl7.org/fhir/R4/terminologies.html#extensible\" title=\"To be conformant, the concept in this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated.  If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.\">extensible</a>)</td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-target"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "true"^^xsd:boolean ]
      ] ) ; #
      fhir:url [ fhir:v "http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSRiskBehaviourDataDictionary"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "0.1.0"] ; #
      fhir:name [ fhir:v "HIMSRiskBehaviourDataDictionary"] ; #
      fhir:title [ fhir:v "HIMS Risk Behaviour"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:date [ fhir:v "2023-11-10T04:37:53+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "Jembi Health Systems"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "Jembi Health Systems" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "https://www.jembi.org" ]     ] [
    fhir:system [ fhir:v "email" ] ;
    fhir:value [ fhir:v "info@jembi.org" ]     ] )
      ] [
    fhir:name [ fhir:v "Richard Langford" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "email" ] ;
    fhir:value [ fhir:v "richard.langford@jembi.org" ] ;
    fhir:use [ fhir:v "work" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "Data elements for the HIMS Risk Behaviour Data Dictionary."] ; #
      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:display [ fhir:v "World" ]     ] )
      ] ) ; #
      fhir:fhirVersion [ fhir:v "4.0.1"] ; #
      fhir:mapping ( [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ;
    fhir:name [ fhir:v "RIM Mapping" ]
      ] [
    fhir:identity [ fhir:v "HIMSRiskBehaviourDataDictionary-to-Patient" ] ;
    fhir:uri [ fhir:v "Observation"^^xsd:anyURI ]
      ] ) ; #
      fhir:kind [ fhir:v "logical"] ; #
      fhir:abstract [ fhir:v "false"^^xsd:boolean] ; #
      fhir:type [ fhir:v "http://openhie.org/fhir/sri-lanka/StructureDefinition/HIMSRiskBehaviourDataDictionary"^^xsd:anyURI] ; #
      fhir:baseDefinition [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Base"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Base>
      ] ; #
      fhir:derivation [ fhir:v "specialization"] ; #
      fhir:snapshot [
        ( fhir:element [
    fhir:id [ fhir:v "HIMSRiskBehaviourDataDictionary" ] ;
    fhir:path [ fhir:v "HIMSRiskBehaviourDataDictionary" ] ;
    fhir:short [ fhir:v "HIMS Risk Behaviour" ] ;
    fhir:definition [ fhir:v "Data elements for the HIMS Risk Behaviour Data Dictionary." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Base" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSRiskBehaviourDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Observation" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSRiskBehaviourDataDictionary.physicalActivity" ] ;
    fhir:path [ fhir:v "HIMSRiskBehaviourDataDictionary.physicalActivity" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-risk-behaviour-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RA1" ]       ] ) ;
    fhir:short [ fhir:v "Physical activity" ] ;
    fhir:definition [ fhir:v "Physical activity status for the patient." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSRiskBehaviourDataDictionary.physicalActivity" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:valueSet [
    fhir:v "http://openhie.org/fhir/sri-lanka/ValueSet/vs-risk-behaviour-physical-activity"^^xsd:anyURI ;
    fhir:link <http://openhie.org/fhir/sri-lanka/ValueSet/vs-risk-behaviour-physical-activity>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSRiskBehaviourDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Observation.valueCodeableConcept" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSRiskBehaviourDataDictionary.tobaccoSmoking" ] ;
    fhir:path [ fhir:v "HIMSRiskBehaviourDataDictionary.tobaccoSmoking" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-risk-behaviour-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RA2" ]       ] ) ;
    fhir:short [ fhir:v "Tobacco smoking" ] ;
    fhir:definition [ fhir:v "Tobacco smoking status for the patient." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "HIMSRiskBehaviourDataDictionary.tobaccoSmoking" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:valueSet [
    fhir:v "http://openhie.org/fhir/sri-lanka/ValueSet/vs-risk-behaviour-tobacco-smoker"^^xsd:anyURI ;
    fhir:link <http://openhie.org/fhir/sri-lanka/ValueSet/vs-risk-behaviour-tobacco-smoker>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSRiskBehaviourDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Observation.valueCodeableConcept" ]       ] )     ] )
      ] ; #
      fhir:differential [
        ( fhir:element [
    fhir:id [ fhir:v "HIMSRiskBehaviourDataDictionary" ] ;
    fhir:path [ fhir:v "HIMSRiskBehaviourDataDictionary" ] ;
    fhir:short [ fhir:v "HIMS Risk Behaviour" ] ;
    fhir:definition [ fhir:v "Data elements for the HIMS Risk Behaviour Data Dictionary." ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSRiskBehaviourDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Observation" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSRiskBehaviourDataDictionary.physicalActivity" ] ;
    fhir:path [ fhir:v "HIMSRiskBehaviourDataDictionary.physicalActivity" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-risk-behaviour-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RA1" ]       ] ) ;
    fhir:short [ fhir:v "Physical activity" ] ;
    fhir:definition [ fhir:v "Physical activity status for the patient." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:valueSet [
    fhir:v "http://openhie.org/fhir/sri-lanka/ValueSet/vs-risk-behaviour-physical-activity"^^xsd:anyURI ;
    fhir:link <http://openhie.org/fhir/sri-lanka/ValueSet/vs-risk-behaviour-physical-activity>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSRiskBehaviourDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Observation.valueCodeableConcept" ]       ] )     ] [
    fhir:id [ fhir:v "HIMSRiskBehaviourDataDictionary.tobaccoSmoking" ] ;
    fhir:path [ fhir:v "HIMSRiskBehaviourDataDictionary.tobaccoSmoking" ] ;
          ( fhir:code [
    fhir:system [ fhir:v "http://openhie.org/fhir/sri-lanka/CodeSystem/cs-risk-behaviour-codes"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "RA2" ]       ] ) ;
    fhir:short [ fhir:v "Tobacco smoking" ] ;
    fhir:definition [ fhir:v "Tobacco smoking status for the patient." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:valueSet [
    fhir:v "http://openhie.org/fhir/sri-lanka/ValueSet/vs-risk-behaviour-tobacco-smoker"^^xsd:anyURI ;
    fhir:link <http://openhie.org/fhir/sri-lanka/ValueSet/vs-risk-behaviour-tobacco-smoker>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "HIMSRiskBehaviourDataDictionary-to-Patient" ] ;
    fhir:map [ fhir:v "Observation.valueCodeableConcept" ]       ] )     ] )
      ] . #