{
  "resourceType" : "Bundle",
  "id" : "patient-occupation-example",
  "type" : "collection",
  "entry" : [{
    "fullUrl" : "https://fhir.ee/mpi/Observation/occupation-example-1",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "occupation-example-1",
      "meta" : {
        "profile" : ["https://fhir.ee/mpi/StructureDefinition/ee-mpi-socialhistory-occupation"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_occupation-example-1\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation occupation-example-1</b></p><a name=\"occupation-example-1\"> </a><a name=\"hcoccupation-example-1\"> </a><div style=\"display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ee-mpi-socialhistory-occupation.html\">EE MPI SocialHistory Occupation</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category social-history}\">Social history</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 184104002}\">Patient occupation</span></p><p><b>subject</b>: <a href=\"Patient-pat1.html\">Indrek Bambus (official) Male, DoB: 1973-02-10 ( https://fhir.ee/sid/pid/est/ni#37302102711)</a></p><p><b>effective</b>: 2024-02-29 00:00:00+0200 --&gt; 2027-02-27 00:00:00+0200</p><p><b>issued</b>: 2026-03-17 10:40:54+0200</p><p><b>performer</b>: <a href=\"#hcoccupation-example-1/employer1\">CGI EESTI AS (https://fhir.ee/sid/org/est/br#10006966)</a></p><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 160922003}\">Job details</span></p><p><b>value</b>: <span title=\"Codes:{https://fhir.ee/CodeSystem/ametite-klassifikaator 22122501}\">Paediatrician</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 224374003}\">Regularity of work</span></p><p><b>value</b>: 0.75 1<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code1 = '1')</span></p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Organization #employer1</b></p><a name=\"occupation-example-1/employer1\"> </a><a name=\"hcoccupation-example-1/employer1\"> </a><div style=\"display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://fhir.ee/packages/ee-base/1.3.0/site/StructureDefinition-ee-organization.html\">EEBase Organization</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">CGI EESTI AS (https://fhir.ee/sid/org/est/br#10006966)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the organization\">Contact Detail</td><td colspan=\"3\"><ul><li>Tartu maakond, Tartu linn, Tartu linn, Pikk tn 2(work)</li></ul></td></tr></table></blockquote></div>"
      },
      "contained" : [{
        "resourceType" : "Organization",
        "id" : "employer1",
        "meta" : {
          "profile" : ["https://fhir.ee/base/StructureDefinition/ee-organization"]
        },
        "identifier" : [{
          "system" : "https://fhir.ee/sid/org/est/br",
          "value" : "10006966"
        }],
        "active" : true,
        "name" : "CGI EESTI AS",
        "contact" : [{
          "address" : {
            "use" : "work",
            "text" : "Tartu maakond, Tartu linn, Tartu linn, Pikk tn 2",
            "line" : ["Pikk tn 2"],
            "city" : "Tartu linn",
            "state" : "Tartu maakond",
            "postalCode" : "51009",
            "country" : "EE"
          }
        }]
      }],
      "status" : "final",
      "category" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "social-history",
          "display" : "Social history"
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "184104002",
          "display" : "Patient occupation"
        }]
      },
      "subject" : {
        "reference" : "Patient/pat1"
      },
      "effectivePeriod" : {
        "start" : "2024-02-29T00:00:00+02:00",
        "end" : "2027-02-27T00:00:00+02:00"
      },
      "issued" : "2026-03-17T10:40:54.408+02:00",
      "performer" : [{
        "reference" : "#employer1"
      }],
      "component" : [{
        "code" : {
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "160922003",
            "display" : "Job details"
          }]
        },
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.ee/CodeSystem/ametite-klassifikaator",
            "code" : "22122501",
            "display" : "Paediatrician"
          }]
        }
      },
      {
        "code" : {
          "coding" : [{
            "system" : "http://snomed.info/sct",
            "code" : "224374003",
            "display" : "Regularity of work"
          }]
        },
        "valueQuantity" : {
          "value" : 0.75,
          "system" : "http://unitsofmeasure.org",
          "code" : "1"
        }
      }]
    }
  },
  {
    "fullUrl" : "https://fhir.ee/mpi/Observation/occupation-example-2",
    "resource" : {
      "resourceType" : "Observation",
      "id" : "occupation-example-2",
      "meta" : {
        "profile" : ["https://fhir.ee/mpi/StructureDefinition/ee-mpi-socialhistory-occupation"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_occupation-example-2\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation occupation-example-2</b></p><a name=\"occupation-example-2\"> </a><a name=\"hcoccupation-example-2\"> </a><div style=\"display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ee-mpi-socialhistory-occupation.html\">EE MPI SocialHistory Occupation</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category social-history}\">Social history</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 184104002}\">Patient occupation</span></p><p><b>subject</b>: <a href=\"Patient-pat1.html\">Indrek Bambus (official) Male, DoB: 1973-02-10 ( https://fhir.ee/sid/pid/est/ni#37302102711)</a></p><p><b>effective</b>: 2021-09-01 00:00:00+0300 --&gt; (ongoing)</p><p><b>issued</b>: 2026-03-17 10:40:54+0200</p><p><b>performer</b>: <a href=\"#hcoccupation-example-2/employer2\">TRIOGAMES OÜ (https://fhir.ee/sid/org/est/br#11079281)</a></p><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Organization #employer2</b></p><a name=\"occupation-example-2/employer2\"> </a><a name=\"hcoccupation-example-2/employer2\"> </a><div style=\"display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://fhir.ee/packages/ee-base/1.3.0/site/StructureDefinition-ee-organization.html\">EEBase Organization</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">TRIOGAMES OÜ (https://fhir.ee/sid/org/est/br#11079281)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the organization\">Contact Detail</td><td colspan=\"3\"><ul><li>Harju maakond, Saku vald, Kasemetsa küla, Kaseurva(work)</li></ul></td></tr></table></blockquote></div>"
      },
      "contained" : [{
        "resourceType" : "Organization",
        "id" : "employer2",
        "meta" : {
          "profile" : ["https://fhir.ee/base/StructureDefinition/ee-organization"]
        },
        "identifier" : [{
          "system" : "https://fhir.ee/sid/org/est/br",
          "value" : "11079281"
        }],
        "active" : true,
        "name" : "TRIOGAMES OÜ",
        "contact" : [{
          "address" : {
            "use" : "work",
            "text" : "Harju maakond, Saku vald, Kasemetsa küla, Kaseurva",
            "city" : "Kasemetsa küla",
            "district" : "Saku vald",
            "state" : "Harju maakond",
            "postalCode" : "75510",
            "country" : "EE"
          }
        }]
      }],
      "status" : "final",
      "category" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "social-history",
          "display" : "Social history"
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "184104002",
          "display" : "Patient occupation"
        }]
      },
      "subject" : {
        "reference" : "Patient/pat1"
      },
      "effectivePeriod" : {
        "start" : "2021-09-01T00:00:00+03:00"
      },
      "issued" : "2026-03-17T10:40:54.408+02:00",
      "performer" : [{
        "reference" : "#employer2"
      }]
    }
  }]
}