{
  "resourceType": "Encounter",
  "id": "ma-ma-schema-1-Encounter-2001",
  "meta": {
    "lastUpdated": "2023-12-18T23:07:47Z",
    "source": "urn:telus:emr:ma:ma-schema-1",
    "profile": [
      "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwEncounter"
    ],
    "security": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
        "code": "N",
        "display": "normal"
      }
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Annual Physical Examination — John Michael Smith, 2023-12-18</div>"
  },
  "identifier": [
    {
      "use": "official",
      "system": "urn:telus:emr:ma:ma-schema-1:Encounter",
      "value": "2001"
    }
  ],
  "status": "finished",
  "class": {
    "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
    "code": "AMB",
    "display": "ambulatory"
  },
  "type": [
    {
      "text": "Office Visit"
    }
  ],
  "subject": {
    "reference": "Patient/ma-ma-schema-1-Patient-12345",
    "type": "Patient",
    "display": "John Michael Smith"
  },
  "participant": [
    {
      "type": [
        {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
              "code": "ATND",
              "display": "attender"
            }
          ]
        }
      ],
      "individual": {
        "reference": "Practitioner/ma-ma-schema-1-Practitioner-789",
        "type": "Practitioner",
        "display": "Dr. Sarah Johnson"
      }
    }
  ],
  "period": {
    "start": "2023-12-18T10:00:00Z",
    "end": "2023-12-18T10:45:00Z"
  },
  "reasonCode": [
    {
      "text": "Annual Physical Examination"
    }
  ],
  "diagnosis": [
    {
      "condition": {
        "display": "Essential Hypertension"
      },
      "use": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/diagnosis-role",
            "code": "AD",
            "display": "Admission diagnosis"
          }
        ]
      },
      "rank": 1
    }
  ],
  "serviceProvider": {
    "reference": "Organization/ma-ma-schema-1-Organization-0",
    "type": "Organization",
    "display": "Main Street Family Practice"
  }
}