Difference between revisions of "Confidentiality Usage"

From Hiasobi - FHIR
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
  
 
There are two codes used:
 
There are two codes used:
* Confidential: Code = "R", System = "http://hl7.org/fhir/v3/Confidentiality", Display = "restricted"
+
* Confidential: Code = "R", System = "http://terminology.hl7.org/CodeSystem/v3-Confidentiality", Display = "restricted"
* Normal:  Code = "N", System = "http://hl7.org/fhir/v3/Confidentiality", Display = "normal"
+
* Normal:  Code = "N", System = "http://terminology.hl7.org/CodeSystem/v3-Confidentiality", Display = "normal"
  
These are applied on every '''Condition''' and '''Procedure''' resource '''Meta'''  element.
+
These are applied on every '''Condition''' and '''Procedure''' resource '''Meta'''  element. e.g.
  
 
       '''"security": ['''
 
       '''"security": ['''
 
       '''    {
 
       '''    {
       '''      "system": "http://hl7.org/fhir/v3/Confidentiality",
+
       '''      "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
 
       '''      "code": "R",
 
       '''      "code": "R",
 
       '''      "display": "restricted"
 
       '''      "display": "restricted"
Line 24: Line 24:
 
       ''' ]'''
 
       ''' ]'''
  
Example
+
Full example
 
<pre>
 
<pre>
"resource": {
+
    {
 
         "resourceType": "Condition",
 
         "resourceType": "Condition",
         "id": "129",
+
         "id": "082EB55DBC004E41B5E37E643DC2E124.1020",
 
         "meta": {
 
         "meta": {
           "versionId": "20160723123649",
+
           "versionId": "20210520002317",
           "lastUpdated": "2016-07-23T12:36:49+00:00",
+
           "lastUpdated": "2021-05-20T00:23:17+00:00",
 
           "security": [
 
           "security": [
 
             {
 
             {
               "system": "http://hl7.org/fhir/v3/Confidentiality",
+
               "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
 
               "code": "R",
 
               "code": "R",
 
               "display": "restricted"
 
               "display": "restricted"
Line 42: Line 42:
 
         "text": {
 
         "text": {
 
           "status": "generated",
 
           "status": "generated",
           "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2016-07-23 Alcohol dependence</p></div>"
+
           "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2021-05-20 Diabetes Mellitus, Type 2</p></div>"
 
         },
 
         },
         "patient": {
+
         "clinicalStatus": {
           "reference": "Patient/35"
+
           "coding": [
 +
            {
 +
              "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
 +
              "code": "active",
 +
              "display": "Active"
 +
            }
 +
          ],
 +
          "text": "active"
 +
        },
 +
        "verificationStatus": {
 +
          "coding": [
 +
            {
 +
              "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
 +
              "code": "confirmed",
 +
              "display": "Confirmed"
 +
            }
 +
          ],
 +
          "text": "confirmed"
 
         },
 
         },
 +
        "category": [
 +
          {
 +
            "coding": [
 +
              {
 +
                "system": "http://snomed.info/sct",
 +
                "code": "439401001",
 +
                "display": "Diagnosis"
 +
              }
 +
            ]
 +
          }
 +
        ],
 
         "code": {
 
         "code": {
 
           "coding": [
 
           "coding": [
 
             {
 
             {
 
               "system": "http://oridashi.com.au/system/code/bestpracticeterm",
 
               "system": "http://oridashi.com.au/system/code/bestpracticeterm",
               "code": "81",
+
               "code": "778",
               "display": "Alcohol dependence"
+
               "display": "Diabetes Mellitus, Type 2"
 
             },
 
             },
 
             {
 
             {
 
               "system": "http://snomed.info/sct",
 
               "system": "http://snomed.info/sct",
               "code": "66590003",
+
               "code": "44054006",
               "display": "Alcohol dependence"
+
               "display": "Diabetes Mellitus, Type 2"
 +
            },
 +
            {
 +
              "system": "http://oridashi.com.au/system/code/medicaldirectorterm",
 +
              "code": "diabm@niddm",
 +
              "display": "Diabetes Mellitus, Type 2"
 +
            },
 +
            {
 +
              "system": "http://hl7.org.au/fhir/sid/icpc-2plus",
 +
              "code": "T90009",
 +
              "display": "Diabetes Mellitus, Type 2"
 
             }
 
             }
 
           ],
 
           ],
           "text": "Alcohol dependence"
+
           "text": "Diabetes Mellitus, Type 2"
 
         },
 
         },
         "category": {
+
         "subject": {
           "coding": [
+
           "reference": "Patient/082EB55DBC004E41B5E37E643DC2E124.21"
            {
+
              "system": "http://snomed.info/sct",
+
              "code": "439401001",
+
              "display": "Diagnosis"
+
            }
+
          ]
+
 
         },
 
         },
         "clinicalStatus": "active",
+
         "onsetDateTime": "2021-05-20",
         "verificationStatus": "confirmed",
+
         "asserter": {
        "onsetDateTime": "2016-07-23",
+
          "reference": "Practitioner/082EB55DBC004E41B5E37E643DC2E124.1"
         "abatementBoolean": false
+
         }
}
+
      }
 +
    }
 
</pre>
 
</pre>

Latest revision as of 11:29, 20 May 2021

Confidentiality (security) for resource content is managed as metadata

http://hl7.org/fhir/resource.html#Meta

Represented as security labels:

http://hl7.org/fhir/security-labels.html


In Hiasobi usage security is applied for 'confidentiality' on Condition or Procedure resources (as supported by the clinical systems)

There are two codes used:

These are applied on every Condition and Procedure resource Meta element. e.g.

      "security": [
          {
             "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
             "code": "R",
             "display": "restricted"
           }
      ]

Full example

    {
        "resourceType": "Condition",
        "id": "082EB55DBC004E41B5E37E643DC2E124.1020",
        "meta": {
          "versionId": "20210520002317",
          "lastUpdated": "2021-05-20T00:23:17+00:00",
          "security": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
              "code": "R",
              "display": "restricted"
            }
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>2021-05-20 Diabetes Mellitus, Type 2</p></div>"
        },
        "clinicalStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
              "code": "active",
              "display": "Active"
            }
          ],
          "text": "active"
        },
        "verificationStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
              "code": "confirmed",
              "display": "Confirmed"
            }
          ],
          "text": "confirmed"
        },
        "category": [
          {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "439401001",
                "display": "Diagnosis"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://oridashi.com.au/system/code/bestpracticeterm",
              "code": "778",
              "display": "Diabetes Mellitus, Type 2"
            },
            {
              "system": "http://snomed.info/sct",
              "code": "44054006",
              "display": "Diabetes Mellitus, Type 2"
            },
            {
              "system": "http://oridashi.com.au/system/code/medicaldirectorterm",
              "code": "diabm@niddm",
              "display": "Diabetes Mellitus, Type 2"
            },
            {
              "system": "http://hl7.org.au/fhir/sid/icpc-2plus",
              "code": "T90009",
              "display": "Diabetes Mellitus, Type 2"
            }
          ],
          "text": "Diabetes Mellitus, Type 2"
        },
        "subject": {
          "reference": "Patient/082EB55DBC004E41B5E37E643DC2E124.21"
        },
        "onsetDateTime": "2021-05-20",
        "asserter": {
          "reference": "Practitioner/082EB55DBC004E41B5E37E643DC2E124.1"
        }
      }
    }