{
  "resourceType" : "Bundle",
  "id" : "EjemploRegistroDispensa",
  "meta" : {
    "lastUpdated" : "2023-07-06T15:00:03.788+00:00",
    "profile" : ["http://fhir.msal.gob.ar/RDI/StructureDefinition/recetaDigitalRegistroDispensaAR"]
  },
  "language" : "es",
  "identifier" : {
    "system" : "http://hsi.lamansys.com.ar/Bundle",
    "value" : "50191a27-0d35-4f3a-984d-8c2b4e5aeaf0"
  },
  "type" : "transaction",
  "timestamp" : "2023-07-06T15:00:03.790+00:00",
  "entry" : [{
    "fullUrl" : "urn:uuid:065c6f50-28de-4224-b950-a764396d4a25",
    "resource" : {
      "resourceType" : "MedicationDispense",
      "id" : "EjemploDatosDispensa",
      "meta" : {
        "profile" : ["http://fhir.msal.gob.ar/RDI/StructureDefinition/datosDispensaAr"]
      },
      "text" : {
        "status" : "additional",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Medicamento: ibuprofeno 400 mg por cada comprimido para administración oral. Paciente: LEOTTA MARIA LAURA</div>"
      },
      "status" : "completed",
      "medicationCodeableConcept" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "329653008",
          "display" : "ibuprofeno 400 mg por cada comprimido para administración oral"
        }]
      },
      "subject" : {
        "reference" : "Patient/EjemploDatosPaciente"
      },
      "performer" : [{
        "actor" : {
          "reference" : "Practitioner/EjemploDatosDispensador"
        }
      }],
      "location" : {
        "reference" : "Location/EjemploDatosLugarFarmacia"
      },
      "authorizingPrescription" : [{
        "reference" : "MedicationRequest/EjemploDatosPrescripcion"
      }],
      "quantity" : {
        "value" : 1,
        "system" : "CSUnidadAsistencial",
        "code" : "comprimido"
      },
      "whenHandedOver" : "2023-05-10T10:20:00Z",
      "receiver" : [{
        "reference" : "Patient/EjemploDatosPaciente"
      }],
      "note" : [{
        "text" : "Informacion sobre la Dispensa"
      }],
      "dosageInstruction" : [{
        "timing" : {
          "repeat" : {
            "duration" : 8,
            "durationUnit" : "d"
          }
        },
        "asNeededBoolean" : true
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "MedicationDispense"
    }
  },
  {
    "fullUrl" : "urn:uuid:015c6f50-28de-4224-b950-a764396d4a25",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "EjemploDatosPaciente",
      "meta" : {
        "profile" : ["http://fhir.msal.gob.ar/RDI/StructureDefinition/datosPacienteAR"]
      },
      "text" : {
        "status" : "additional",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">LEOTTA, MARIA LAURA DNI: 99999999</div>"
      },
      "identifier" : [{
        "use" : "official",
        "system" : "http://www.renaper.gob.ar/dni",
        "value" : "999999999"
      },
      {
        "use" : "secondary",
        "system" : "http://sistemadesalud.com.ar/Patient",
        "value" : "9999"
      }],
      "name" : [{
        "text" : "LEOTTA MARIA LAURA",
        "family" : "LEOTTA",
        "_family" : {
          "extension" : [{
            "url" : "http://hl7.org/fhir/StructureDefinition/humanname-fathers-family",
            "valueString" : "LEOTTA"
          }]
        },
        "given" : ["MARIA",
        "LAURA"]
      }],
      "gender" : "female",
      "birthDate" : "1980-07-29"
    },
    "request" : {
      "method" : "POST",
      "url" : "Patient"
    }
  },
  {
    "fullUrl" : "urn:uuid:045c6f50-28de-4224-b950-a764396d4a25",
    "resource" : {
      "resourceType" : "Practitioner",
      "id" : "EjemploDatosDispensador",
      "meta" : {
        "profile" : ["http://fhir.msal.gob.ar/RDI/StructureDefinition/datosDispensadorAR"]
      },
      "text" : {
        "status" : "additional",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Prueba Farmacéutico</div>"
      },
      "identifier" : [{
        "system" : "http://www.renaper.gob.ar/dni",
        "value" : "99999998"
      },
      {
        "system" : "https://sisa.msal.gov.ar/REFEPS",
        "value" : "103029344"
      }],
      "active" : true,
      "name" : [{
        "use" : "official",
        "text" : "Prueba Farmaceutico",
        "family" : "Prueba",
        "given" : ["Farmaceutico"]
      }],
      "telecom" : [{
        "system" : "phone",
        "value" : "1199984445"
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Practitioner"
    }
  },
  {
    "fullUrl" : "urn:uuid:075c6f50-28de-4224-b950-a764396d4a25",
    "resource" : {
      "resourceType" : "Coverage",
      "id" : "EjemploDatosCobertura",
      "meta" : {
        "profile" : ["http://fhir.msal.gob.ar/RDI/StructureDefinition/datosCoberturaAR"]
      },
      "text" : {
        "status" : "additional",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">OBRA SOCIAL DE EJEMPLO - PLAN JOVEN - 206850/01</div>"
      },
      "identifier" : [{
        "system" : "http://ssalud.gob.ar/coberturas-13566-carnet",
        "value" : "206850-01"
      }],
      "status" : "active",
      "beneficiary" : {
        "reference" : "urn:uuid:015c6f50-28de-4224-b950-a764396d4a25"
      },
      "payor" : [{
        "identifier" : {
          "system" : "http://ssalud.gob.ar/coberturas",
          "value" : "13566"
        },
        "display" : "OBRA SOCIAL DE EJEMPLO"
      }],
      "class" : [{
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/coverage-class",
            "code" : "plan",
            "display" : "Plan"
          }]
        },
        "value" : "13566_3",
        "name" : "Plan Joven"
      }]
    },
    "request" : {
      "method" : "POST",
      "url" : "Coverage"
    }
  },
  {
    "fullUrl" : "urn:uuid:035c6f50-28de-4224-b950-a764396d4a25",
    "resource" : {
      "resourceType" : "Location",
      "id" : "EjemploDatosLugarFarmacia",
      "meta" : {
        "profile" : ["http://fhir.msal.gob.ar/RDI/StructureDefinition/datosLugarAR"]
      },
      "text" : {
        "status" : "additional",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Farmacia Unificada De La Plata</div>"
      },
      "identifier" : [{
        "use" : "usual",
        "system" : "http://refes.msal.gob.ar",
        "value" : "9876543210"
      }],
      "name" : "Farmacia Unificada De La Plata",
      "address" : {
        "line" : ["CALLE 34 NRO 5544"],
        "city" : "LA PLATA",
        "state" : "BUENOS AIRES",
        "postalCode" : "2000"
      }
    },
    "request" : {
      "method" : "POST",
      "url" : "Location"
    }
  }]
}