{
  "resourceType": "Encounter",
  "id": "Esempio_Encounter",
  "meta": {
    "profile": [
      "https://example.org/fhir/StructureDefinition/Encounter"
    ]
  },
  "extension": [
    {
      "url": "http://example.org/FHIR/schema/encounter-dataPrericovero",
      "valuePeriod": {
        "start": "2024-05-05T14:33:30+00:00"
      }
    }
  ],
  "identifier": [
    {
      "system": "http://example.org/identifier/nosologico",
      "value": "2024000000"
    }
  ],
  "status": "in-progress",
  "class": {
    "system": "http://terminology.hl7.org/ValueSet/v3-ActEncounterCode",
    "code": "IMP",
    "display": "inpatient encounter"
  },
  "type": [
    {
      "coding": [
        {
          "system": "http://example.org/FHIR/schema/encounter-typeCode",
          "code": "1",
          "display": "Programmato non urgente"
        }
      ]
    }
  ],
  "subject": {
    "reference": "Patient/IdPaziente"
  },
  "participant": [
    {
      "individual": {
        "reference": "Practitioner/IdMedico"
      }
    }
  ],
  "period": {
    "start": "2022-02-01T15:33:30+00:00"
  },
  "reasonCode": [
    {
      "coding": [
        {
          "system": "http://hl7.org/fhir/sid/icd-9-cm",
          "code": "codiceDiagnosi",
          "display": "descrizioneDiagnosi"
        }
      ]
    }
  ],
  "hospitalization": {
    "extension": [
      {
        "url": "http://example.org/FHIR/schema/encounter-regime",
        "valueCodeableConcept": {
          "coding": [
            {
              "system": "http://example.org/FHIR/schema/encounter-regimeCode",
              "code": "I",
              "display": "ORDINARIO"
            }
          ]
        }
      }
    ]
  },
  "location": [
    {
      "location": {
        "reference": "Location/Idreparto"
      },
      "physicalType": {
        "coding": [
          {
            "system": "http://example.org/FHIR/schema/location-type",
            "code": "wa",
            "display": "REPARTO"
          }
        ]
      }
    },
    {
      "location": {
        "reference": "Location/IdStanza"
      },
      "physicalType": {
        "coding": [
          {
            "system": "http://example.org/FHIR/schema/location-type",
            "code": "ro",
            "display": "ROOM"
          }
        ]
      }
    },
    {
      "location": {
        "reference": "Location/AREAS.IdLetto"
      },
      "physicalType": {
        "coding": [
          {
            "system": "http://example.org/FHIR/schema/location-type",
            "code": "bd",
            "display": "BED"
          }
        ]
      }
    }
  ],
  "serviceProvider": {
    "reference": "Organization/IdPresidio"
  }
}