FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagese.electronichealth.fhir.nll.r4
Resource TypeBundle
Idfetch-medicationrequest-example-6.json
FHIR VersionR4

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

No narrative content found in resource


Source1

{
  "resourceType": "Bundle",
  "id": "783c2809-8cae-4ec7-8e9f-b747294b3ea2",
  "meta": {
    "lastUpdated": "2022-06-01T07:57:44.908+00:00",
    "tag": [
      {
        "display": "Fetch MedicationRequest by a search"
      },
      {
        "display": "Example of fetch prescription by a search"
      },
      {
        "display": "fetch-medicationrequest-example-6"
      }
    ]
  },
  "type": "searchset",
  "total": 5,
  "link": [
    {
      "relation": "self",
      "url": "https://test.ehalsomyndigheten.se/fhir/MedicationRequest?patient._id=37c884c9-01ec-46e7-b625-29a18a230f76"
    }
  ],
  "entry": [
    {
      "resource": {
        "resourceType": "MedicationRequest",
        "id": "e5f2d79b-990b-43de-812d-ba3b61f82646",
        "meta": {
          "versionId": "2",
          "profile": [
            "http://electronichealth.se/fhir/StructureDefinition/NLLMedicationRequest"
          ]
        },
        "contained": [
          {
            "resourceType": "Practitioner",
            "id": "1",
            "meta": {
              "profile": [
                "http://electronichealth.se/fhir/StructureDefinition/NLLPractitioner"
              ]
            },
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLWorkplaceSummary",
                "extension": [
                  {
                    "url": "workplaceIdentifier",
                    "valueString": "7711222222"
                  },
                  {
                    "url": "workplaceName",
                    "valueString": "Min vardcentral"
                  },
                  {
                    "url": "workplaceType",
                    "valueCode": "HEALTHCAREUNIT"
                  },
                  {
                    "url": "workplaceIdType",
                    "valueCode": "ORGNR"
                  }
                ]
              }
            ],
            "name": [
              {
                "family": "Svensson",
                "given": [
                  "Gustav"
                ]
              }
            ],
            "telecom": [
              {
                "extension": [
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLAvailableToPatient",
                    "valueBoolean": false
                  },
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLContactPointType",
                    "valueCode": "P"
                  }
                ],
                "system": "phone",
                "value": "011-900000",
                "rank": 1
              },
              {
                "extension": [
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLAvailableToPatient",
                    "valueBoolean": true
                  },
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLContactPointType",
                    "valueCode": "W"
                  }
                ],
                "system": "phone",
                "value": "011-900000",
                "rank": 1
              }
            ],
            "address": [
              {
                "type": "postal",
                "line": [
                  "postGatan 133"
                ],
                "city": "stockholm",
                "postalCode": "12345"
              },
              {
                "type": "physical",
                "line": [
                  "fysiskaGatan 134"
                ],
                "city": "stockholm",
                "postalCode": "12345"
              }
            ],
            "qualification": [
              {
                "identifier": [
                  {
                    "system": "urn:oid:1.2.752.116.3.1.2",
                    "value": "9000027"
                  }
                ],
                "code": {
                  "coding": [
                    {
                      "system": "urn:oid:1.2.752.116.3.1.3",
                      "code": "LK"
                    }
                  ]
                }
              }
            ]
          }
        ],
        "extension": [
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLTreatmentDates",
            "extension": [
              {
                "url": "treatmentEndDate",
                "valueDate": "2022-06-01"
              }
            ]
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionChain",
            "valueUuid": "urn:uuid:6dd12cfb-e654-4ed7-8c4e-adc7cbd3cf80"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPatientTreatmentReason",
            "valueString": "Mot diabetes"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLRegistrationBasis",
            "valueCode": "ELECTRONIC"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionFormat",
            "valueCode": "ELEKTRONISKT"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLOrdinationsId",
            "valueDecimal": 40317
          }
        ],
        "identifier": [
          {
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLNEFId",
                "extension": [
                  {
                    "url": "PrescriptionSetId",
                    "valueString": "3a3a8f90-9adb-4638-8e94-ecc645b27b23"
                  }
                ]
              }
            ],
            "system": "http://electronichealth.se/fhir/NamingSystem/NEFId",
            "value": "3a3a8f90-9adb-4638-8e94-ecc645b27b23"
          }
        ],
        "status": "stopped",
        "statusReason": {
          "coding": [
            {
              "system": "http://ehalsomyndigheten.se/fhir/CodeSystem/library",
              "code": "TREATSTOPINST"
            }
          ]
        },
        "intent": "order",
        "medicationCodeableConcept": {
          "coding": [
            {
              "system": "http://electronichealth.se/fhir/NamingSystem/nplid",
              "code": "20101221000108"
            },
            {
              "system": "http://electronichealth.se/fhir/NamingSystem/nplpackid",
              "code": "20180117100030"
            }
          ]
        },
        "subject": {
          "reference": "Patient/37c884c9-01ec-46e7-b625-29a18a230f76"
        },
        "authoredOn": "2022-05-31T22:00:00+00:00",
        "requester": {
          "reference": "#1"
        },
        "reasonCode": [
          {
            "coding": [
              {
                "system": "http://electronichealth.se/fhir/CodeSystem/nkoo-sct",
                "code": "410039003"
              }
            ]
          }
        ],
        "note": [
          {
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLMedReqNoteType",
                "valueCode": "pre"
              }
            ],
            "text": "Patienten har svårt att svälja."
          }
        ],
        "dosageInstruction": [
          {
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLAdministeringInstruction",
                "valueString": "Sväljning"
              },
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLDosageType",
                "valueCode": "FREKVENSDOSERING"
              }
            ],
            "sequence": 1,
            "patientInstruction": "1 tablett 1 gång dagligen, sväljning.",
            "timing": {
              "repeat": {
                "frequency": 1,
                "period": 1,
                "periodUnit": "d"
              }
            },
            "asNeededBoolean": false,
            "method": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "738995006"
                }
              ]
            },
            "doseAndRate": [
              {
                "doseQuantity": {
                  "value": 1,
                  "system": "http://ehalsomyndigheten.se/fhir/CodeSystem/ehm-ucum-annotations",
                  "code": "{tbl}"
                }
              }
            ]
          }
        ],
        "dispenseRequest": {
          "extension": [
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfPackagesPrescribed",
              "valuePositiveInt": 1
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfFillsRemaining",
              "valuePositiveInt": 4
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLDosePackaging",
              "valueBoolean": false
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLTotalQuantity",
              "extension": [
                {
                  "url": "prescribed",
                  "valueQuantity": {
                    "value": 392
                  }
                },
                {
                  "url": "remaining",
                  "valueQuantity": {
                    "value": 392
                  }
                }
              ]
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriberCostCenter",
              "valueIdentifier": {
                "system": "http://electronichealth.se/identifier/arbetsplatskod",
                "value": "4000000000000"
              }
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionCommunicableDiseasesAct",
              "valueBoolean": false
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPatientPharmaceuticalBenefitsAct",
              "valueBoolean": true
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLConditionsPharmaceuticalBenefitsAct",
              "valueBoolean": true
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfDispensesAllowed",
              "valueUnsignedInt": 4
            }
          ],
          "initialFill": {
            "quantity": {
              "value": 1,
              "unit": "Package",
              "system": "http://unitsofmeasure.org",
              "code": "{Package}"
            }
          },
          "validityPeriod": {
            "end": "2022-06-01"
          },
          "numberOfRepeatsAllowed": 3,
          "quantity": {
            "value": 98
          }
        }
      },
      "search": {
        "mode": "match"
      }
    },
    {
      "resource": {
        "resourceType": "MedicationRequest",
        "id": "d65e0105-3f73-46c5-983d-86105a05ba07",
        "meta": {
          "versionId": "1",
          "profile": [
            "http://electronichealth.se/fhir/StructureDefinition/NLLMedicationRequest"
          ]
        },
        "contained": [
          {
            "resourceType": "Practitioner",
            "id": "1",
            "meta": {
              "profile": [
                "http://electronichealth.se/fhir/StructureDefinition/NLLPractitioner"
              ]
            },
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLWorkplaceSummary",
                "extension": [
                  {
                    "url": "workplaceIdentifier",
                    "valueString": "7711222222"
                  },
                  {
                    "url": "workplaceName",
                    "valueString": "Min vardcentral"
                  },
                  {
                    "url": "workplaceType",
                    "valueCode": "HEALTHCAREUNIT"
                  },
                  {
                    "url": "workplaceIdType",
                    "valueCode": "ORGNR"
                  }
                ]
              }
            ],
            "name": [
              {
                "family": "Svensson",
                "given": [
                  "Mona"
                ]
              }
            ],
            "telecom": [
              {
                "extension": [
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLAvailableToPatient",
                    "valueBoolean": false
                  },
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLContactPointType",
                    "valueCode": "P"
                  }
                ],
                "system": "phone",
                "value": "011-900000",
                "rank": 1
              },
              {
                "extension": [
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLAvailableToPatient",
                    "valueBoolean": true
                  },
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLContactPointType",
                    "valueCode": "W"
                  }
                ],
                "system": "phone",
                "value": "011-900000",
                "rank": 1
              }
            ],
            "address": [
              {
                "type": "postal",
                "line": [
                  "postGatan 133"
                ],
                "city": "stockholm",
                "postalCode": "12345"
              },
              {
                "type": "physical",
                "line": [
                  "fysiskaGatan 134"
                ],
                "city": "stockholm",
                "postalCode": "12345"
              }
            ],
            "qualification": [
              {
                "identifier": [
                  {
                    "system": "urn:oid:1.2.752.116.3.1.2",
                    "value": "9002106"
                  }
                ],
                "code": {
                  "coding": [
                    {
                      "system": "urn:oid:1.2.752.116.3.1.3",
                      "code": "LK"
                    }
                  ]
                }
              }
            ]
          }
        ],
        "extension": [
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLTreatmentDates",
            "extension": [
              {
                "url": "treatmentReviewDate",
                "valueDate": "2022-08-01"
              }
            ]
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLUsageDates",
            "extension": [
              {
                "url": "usageStartDate",
                "valueDate": "2022-06-08"
              },
              {
                "url": "usageEndDate",
                "valueDate": "2023-06-01"
              },
              {
                "url": "scheduleStartDate",
                "valueDate": "2022-06-08"
              }
            ]
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionChain",
            "valueUuid": "urn:uuid:66627bd2-39ab-4a86-a7a9-6b117cefdec9"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPatientTreatmentReason",
            "valueString": "Mot förhöjt blodtryck"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLRegistrationBasis",
            "valueCode": "ELECTRONIC"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionFormat",
            "valueCode": "ELEKTRONISKT"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLOrdinationsId",
            "valueDecimal": 40315
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLTidigareOrdinationsid",
            "valueDecimal": 40314
          }
        ],
        "identifier": [
          {
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLNEFId",
                "extension": [
                  {
                    "url": "PrescriptionSetId",
                    "valueString": "1ffc00dc-328a-4fe5-a7c3-5111d9d5013d"
                  }
                ]
              }
            ],
            "system": "http://electronichealth.se/fhir/NamingSystem/NEFId",
            "value": "1ffc00dc-328a-4fe5-a7c3-5111d9d5013d"
          }
        ],
        "status": "active",
        "intent": "order",
        "priority": "urgent",
        "medicationCodeableConcept": {
          "coding": [
            {
              "system": "http://electronichealth.se/fhir/NamingSystem/nplid",
              "code": "20060710000381"
            },
            {
              "system": "http://electronichealth.se/fhir/NamingSystem/nplpackid",
              "code": "20091202100326"
            }
          ]
        },
        "subject": {
          "reference": "Patient/37c884c9-01ec-46e7-b625-29a18a230f76"
        },
        "authoredOn": "2022-05-31T22:00:00+00:00",
        "requester": {
          "reference": "#1"
        },
        "reasonCode": [
          {
            "coding": [
              {
                "system": "http://electronichealth.se/fhir/CodeSystem/nkoo-sct",
                "code": "38341003"
              }
            ]
          }
        ],
        "dosageInstruction": [
          {
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLAdministeringInstruction",
                "valueString": "Sväljning"
              },
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLDosageType",
                "valueCode": "TILLFALLESDOSERING"
              }
            ],
            "sequence": 1,
            "patientInstruction": "2 tabletter kl. 08., sväljning.",
            "timing": {
              "repeat": {
                "timeOfDay": [
                  "08:00:00"
                ]
              }
            },
            "asNeededBoolean": false,
            "method": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "738995006"
                }
              ]
            },
            "doseAndRate": [
              {
                "doseQuantity": {
                  "value": 2,
                  "system": "http://ehalsomyndigheten.se/fhir/CodeSystem/ehm-ucum-annotations",
                  "code": "{tbl}"
                }
              }
            ]
          }
        ],
        "dispenseRequest": {
          "extension": [
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLDosePackaging",
              "valueBoolean": true
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriberCostCenter",
              "valueIdentifier": {
                "system": "http://electronichealth.se/identifier/arbetsplatskod",
                "value": "4000000000000"
              }
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionCommunicableDiseasesAct",
              "valueBoolean": false
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPatientPharmaceuticalBenefitsAct",
              "valueBoolean": true
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLConditionsPharmaceuticalBenefitsAct",
              "valueBoolean": false
            }
          ],
          "validityPeriod": {
            "end": "2023-06-01"
          }
        },
        "priorPrescription": {
          "reference": "MedicationRequest/c61dcb3f-1585-4456-bebf-8ac3536e9dd9"
        }
      },
      "search": {
        "mode": "match"
      }
    },
    {
      "resource": {
        "resourceType": "MedicationRequest",
        "id": "c61dcb3f-1585-4456-bebf-8ac3536e9dd9",
        "meta": {
          "versionId": "2",
          "profile": [
            "http://electronichealth.se/fhir/StructureDefinition/NLLMedicationRequest"
          ]
        },
        "contained": [
          {
            "resourceType": "Practitioner",
            "id": "1",
            "meta": {
              "profile": [
                "http://electronichealth.se/fhir/StructureDefinition/NLLPractitioner"
              ]
            },
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLWorkplaceSummary",
                "extension": [
                  {
                    "url": "workplaceIdentifier",
                    "valueString": "7711222222"
                  },
                  {
                    "url": "workplaceName",
                    "valueString": "Min vardcentral"
                  },
                  {
                    "url": "workplaceType",
                    "valueCode": "HEALTHCAREUNIT"
                  },
                  {
                    "url": "workplaceIdType",
                    "valueCode": "ORGNR"
                  }
                ]
              }
            ],
            "name": [
              {
                "family": "Svensson",
                "given": [
                  "Gustav"
                ]
              }
            ],
            "telecom": [
              {
                "extension": [
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLAvailableToPatient",
                    "valueBoolean": false
                  },
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLContactPointType",
                    "valueCode": "P"
                  }
                ],
                "system": "phone",
                "value": "011-900000",
                "rank": 1
              },
              {
                "extension": [
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLAvailableToPatient",
                    "valueBoolean": true
                  },
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLContactPointType",
                    "valueCode": "W"
                  }
                ],
                "system": "phone",
                "value": "011-900000",
                "rank": 1
              }
            ],
            "address": [
              {
                "type": "postal",
                "line": [
                  "postGatan 133"
                ],
                "city": "stockholm",
                "postalCode": "12345"
              },
              {
                "type": "physical",
                "line": [
                  "fysiskaGatan 134"
                ],
                "city": "stockholm",
                "postalCode": "12345"
              }
            ],
            "qualification": [
              {
                "identifier": [
                  {
                    "system": "urn:oid:1.2.752.116.3.1.2",
                    "value": "9000027"
                  }
                ],
                "code": {
                  "coding": [
                    {
                      "system": "urn:oid:1.2.752.116.3.1.3",
                      "code": "LK"
                    }
                  ]
                }
              }
            ]
          }
        ],
        "extension": [
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLTreatmentDates",
            "extension": [
              {
                "url": "treatmentReviewDate",
                "valueDate": "2022-08-01"
              }
            ]
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLUsageDates",
            "extension": [
              {
                "url": "usageStartDate",
                "valueDate": "2022-06-02"
              },
              {
                "url": "usageEndDate",
                "valueDate": "2022-06-01"
              },
              {
                "url": "scheduleStartDate",
                "valueDate": "2022-06-02"
              }
            ]
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionChain",
            "valueUuid": "urn:uuid:66627bd2-39ab-4a86-a7a9-6b117cefdec9"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPatientTreatmentReason",
            "valueString": "Mot förhöjt blodtryck"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLRegistrationBasis",
            "valueCode": "ELECTRONIC"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionFormat",
            "valueCode": "ELEKTRONISKT"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLOrdinationsId",
            "valueDecimal": 40314
          }
        ],
        "identifier": [
          {
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLNEFId",
                "extension": [
                  {
                    "url": "PrescriptionSetId",
                    "valueString": "b2154228-dc35-4efe-a994-2fdbb2fc2b7a"
                  }
                ]
              }
            ],
            "system": "http://electronichealth.se/fhir/NamingSystem/NEFId",
            "value": "b2154228-dc35-4efe-a994-2fdbb2fc2b7a"
          }
        ],
        "status": "stopped",
        "statusReason": {
          "coding": [
            {
              "system": "http://ehalsomyndigheten.se/fhir/CodeSystem/library",
              "code": "REPLACED"
            }
          ]
        },
        "intent": "order",
        "priority": "urgent",
        "medicationCodeableConcept": {
          "coding": [
            {
              "system": "http://electronichealth.se/fhir/NamingSystem/nplid",
              "code": "20060710000381"
            },
            {
              "system": "http://electronichealth.se/fhir/NamingSystem/nplpackid",
              "code": "20091202100326"
            }
          ]
        },
        "subject": {
          "reference": "Patient/37c884c9-01ec-46e7-b625-29a18a230f76"
        },
        "authoredOn": "2022-05-31T22:00:00+00:00",
        "requester": {
          "reference": "#1"
        },
        "reasonCode": [
          {
            "coding": [
              {
                "system": "http://electronichealth.se/fhir/CodeSystem/nkoo-sct",
                "code": "38341003"
              }
            ]
          }
        ],
        "dosageInstruction": [
          {
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLAdministeringInstruction",
                "valueString": "Sväljning"
              },
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLDosageType",
                "valueCode": "TILLFALLESDOSERING"
              }
            ],
            "sequence": 1,
            "patientInstruction": "1 tablett kl. 08., sväljning.",
            "timing": {
              "repeat": {
                "timeOfDay": [
                  "08:00:00"
                ]
              }
            },
            "asNeededBoolean": false,
            "method": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "738995006"
                }
              ]
            },
            "doseAndRate": [
              {
                "doseQuantity": {
                  "value": 1,
                  "system": "http://ehalsomyndigheten.se/fhir/CodeSystem/ehm-ucum-annotations",
                  "code": "{tbl}"
                }
              }
            ]
          }
        ],
        "dispenseRequest": {
          "extension": [
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLDosePackaging",
              "valueBoolean": true
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriberCostCenter",
              "valueIdentifier": {
                "system": "http://electronichealth.se/identifier/arbetsplatskod",
                "value": "4000000000000"
              }
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionCommunicableDiseasesAct",
              "valueBoolean": false
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPatientPharmaceuticalBenefitsAct",
              "valueBoolean": true
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLConditionsPharmaceuticalBenefitsAct",
              "valueBoolean": false
            }
          ],
          "validityPeriod": {
            "end": "2022-06-01"
          }
        }
      },
      "search": {
        "mode": "match"
      }
    },
    {
      "resource": {
        "resourceType": "MedicationRequest",
        "id": "daa93c06-9136-4b1a-8cf3-04e11e4fb4a4",
        "meta": {
          "versionId": "1",
          "profile": [
            "http://electronichealth.se/fhir/StructureDefinition/NLLMedicationRequest"
          ]
        },
        "contained": [
          {
            "resourceType": "Practitioner",
            "id": "1",
            "meta": {
              "profile": [
                "http://electronichealth.se/fhir/StructureDefinition/NLLPractitioner"
              ]
            },
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLWorkplaceSummary",
                "extension": [
                  {
                    "url": "workplaceIdentifier",
                    "valueString": "7711222222"
                  },
                  {
                    "url": "workplaceName",
                    "valueString": "Min vardcentral"
                  },
                  {
                    "url": "workplaceType",
                    "valueCode": "HEALTHCAREUNIT"
                  },
                  {
                    "url": "workplaceIdType",
                    "valueCode": "ORGNR"
                  }
                ]
              }
            ],
            "name": [
              {
                "family": "Svensson",
                "given": [
                  "Gustav"
                ]
              }
            ],
            "telecom": [
              {
                "extension": [
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLAvailableToPatient",
                    "valueBoolean": false
                  },
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLContactPointType",
                    "valueCode": "P"
                  }
                ],
                "system": "phone",
                "value": "011-900000",
                "rank": 1
              },
              {
                "extension": [
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLAvailableToPatient",
                    "valueBoolean": true
                  },
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLContactPointType",
                    "valueCode": "W"
                  }
                ],
                "system": "phone",
                "value": "011-900000",
                "rank": 1
              }
            ],
            "address": [
              {
                "type": "postal",
                "line": [
                  "postGatan 133"
                ],
                "city": "stockholm",
                "postalCode": "12345"
              },
              {
                "type": "physical",
                "line": [
                  "fysiskaGatan 134"
                ],
                "city": "stockholm",
                "postalCode": "12345"
              }
            ],
            "qualification": [
              {
                "identifier": [
                  {
                    "system": "urn:oid:1.2.752.116.3.1.2",
                    "value": "9000027"
                  }
                ],
                "code": {
                  "coding": [
                    {
                      "system": "urn:oid:1.2.752.116.3.1.3",
                      "code": "LK"
                    }
                  ]
                }
              }
            ]
          }
        ],
        "extension": [
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionChain",
            "valueUuid": "urn:uuid:717ddaf4-bd85-43b1-8ae2-17facb7a3d91"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPatientTreatmentReason",
            "valueString": "Mot diabetes"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLRegistrationBasis",
            "valueCode": "PAPER"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionFormat",
            "valueCode": "ELEKTRONISKT"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLOrdinationsId",
            "valueDecimal": 40309
          }
        ],
        "identifier": [
          {
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLNEFId",
                "extension": [
                  {
                    "url": "PrescriptionSetId",
                    "valueString": "ca86c325-b74d-41b8-b2ed-4a6b4fd6baa7"
                  }
                ]
              }
            ],
            "system": "http://electronichealth.se/fhir/NamingSystem/NEFId",
            "value": "ca86c325-b74d-41b8-b2ed-4a6b4fd6baa7"
          }
        ],
        "status": "active",
        "intent": "order",
        "medicationCodeableConcept": {
          "coding": [
            {
              "system": "http://electronichealth.se/fhir/NamingSystem/nplid",
              "code": "20101221000108"
            },
            {
              "system": "http://electronichealth.se/fhir/NamingSystem/nplpackid",
              "code": "20180117100030"
            }
          ]
        },
        "subject": {
          "reference": "Patient/37c884c9-01ec-46e7-b625-29a18a230f76"
        },
        "authoredOn": "2022-05-31T22:00:00+00:00",
        "requester": {
          "reference": "#1"
        },
        "note": [
          {
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLMedReqNoteType",
                "valueCode": "pre"
              }
            ],
            "text": "Patienten har svårt att svälja."
          },
          {
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLMedReqNoteType",
                "valueCode": "pha"
              }
            ],
            "text": "Patient behöver kalenderförpackning."
          }
        ],
        "dosageInstruction": [
          {
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLAdministeringInstruction",
                "valueString": "Sväljning"
              },
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLDosageType",
                "valueCode": "FREKVENSDOSERING"
              }
            ],
            "sequence": 1,
            "patientInstruction": "1 tablett 1 gång dagligen, sväljning.",
            "timing": {
              "repeat": {
                "frequency": 1,
                "period": 1,
                "periodUnit": "d"
              }
            },
            "asNeededBoolean": false,
            "method": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "738995006"
                }
              ]
            },
            "doseAndRate": [
              {
                "doseQuantity": {
                  "value": 1,
                  "system": "http://ehalsomyndigheten.se/fhir/CodeSystem/ehm-ucum-annotations",
                  "code": "{tbl}"
                }
              }
            ]
          }
        ],
        "dispenseRequest": {
          "extension": [
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfPackagesPrescribed",
              "valuePositiveInt": 1
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfFillsRemaining",
              "valuePositiveInt": 4
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLDosePackaging",
              "valueBoolean": false
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLTotalQuantity",
              "extension": [
                {
                  "url": "prescribed",
                  "valueQuantity": {
                    "value": 392
                  }
                },
                {
                  "url": "remaining",
                  "valueQuantity": {
                    "value": 392
                  }
                }
              ]
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriberCostCenter",
              "valueIdentifier": {
                "system": "http://electronichealth.se/identifier/arbetsplatskod",
                "value": "4000000000000"
              }
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionCommunicableDiseasesAct",
              "valueBoolean": false
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPatientPharmaceuticalBenefitsAct",
              "valueBoolean": true
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLConditionsPharmaceuticalBenefitsAct",
              "valueBoolean": true
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLBenefitDetails",
              "extension": [
                {
                  "url": "dailyBenefitQuantity",
                  "valueQuantity": {
                    "value": 1
                  }
                }
              ]
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfDispensesAllowed",
              "valueUnsignedInt": 4
            }
          ],
          "initialFill": {
            "quantity": {
              "value": 1,
              "unit": "Package",
              "system": "http://unitsofmeasure.org",
              "code": "{Package}"
            }
          },
          "validityPeriod": {
            "end": "2023-06-01"
          },
          "numberOfRepeatsAllowed": 3,
          "quantity": {
            "value": 98
          }
        }
      },
      "search": {
        "mode": "match"
      }
    },
    {
      "resource": {
        "resourceType": "MedicationRequest",
        "id": "209a2b68-9f9e-4fa3-9845-f3a4b6152c89",
        "meta": {
          "versionId": "1",
          "profile": [
            "http://electronichealth.se/fhir/StructureDefinition/NLLMedicationRequest"
          ]
        },
        "contained": [
          {
            "resourceType": "Practitioner",
            "id": "1",
            "meta": {
              "profile": [
                "http://electronichealth.se/fhir/StructureDefinition/NLLPractitioner"
              ]
            },
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLWorkplaceSummary",
                "extension": [
                  {
                    "url": "workplaceIdentifier",
                    "valueString": "7711222222"
                  },
                  {
                    "url": "workplaceName",
                    "valueString": "Min vardcentral"
                  },
                  {
                    "url": "workplaceType",
                    "valueCode": "HEALTHCAREUNIT"
                  },
                  {
                    "url": "workplaceIdType",
                    "valueCode": "ORGNR"
                  }
                ]
              }
            ],
            "name": [
              {
                "family": "Svensson",
                "given": [
                  "Gustav"
                ]
              }
            ],
            "telecom": [
              {
                "extension": [
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLAvailableToPatient",
                    "valueBoolean": false
                  },
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLContactPointType",
                    "valueCode": "P"
                  }
                ],
                "system": "phone",
                "value": "011-900000",
                "rank": 1
              },
              {
                "extension": [
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLAvailableToPatient",
                    "valueBoolean": true
                  },
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLContactPointType",
                    "valueCode": "W"
                  }
                ],
                "system": "phone",
                "value": "011-900000",
                "rank": 1
              }
            ],
            "address": [
              {
                "type": "physical",
                "line": [
                  "fysiskaGatan 134"
                ],
                "city": "stockholm",
                "postalCode": "12345"
              },
              {
                "type": "postal",
                "line": [
                  "postGatan 133"
                ],
                "city": "stockholm",
                "postalCode": "12345"
              }
            ],
            "qualification": [
              {
                "identifier": [
                  {
                    "system": "urn:oid:1.2.752.116.3.1.2",
                    "value": "9000027"
                  }
                ],
                "code": {
                  "coding": [
                    {
                      "system": "urn:oid:1.2.752.116.3.1.3",
                      "code": "LK"
                    }
                  ]
                }
              }
            ]
          }
        ],
        "extension": [
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLTreatmentDates",
            "extension": [
              {
                "url": "treatmentEndDate",
                "valueDate": "2022-06-15"
              }
            ]
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionChain",
            "valueUuid": "urn:uuid:ed144896-1561-4f36-99b9-f2404f4c7daf"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPatientTreatmentReason",
            "valueString": "Mot ögoninfektion"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLRegistrationBasis",
            "valueCode": "ELECTRONIC"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionFormat",
            "valueCode": "ELEKTRONISKT"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLOrdinationsId",
            "valueDecimal": 40308
          }
        ],
        "identifier": [
          {
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLNEFId",
                "extension": [
                  {
                    "url": "PrescriptionSetId",
                    "valueString": "ff0c7c65-1035-4961-ac99-e85af4817ac4"
                  }
                ]
              }
            ],
            "system": "http://electronichealth.se/fhir/NamingSystem/NEFId",
            "value": "ff0c7c65-1035-4961-ac99-e85af4817ac4"
          }
        ],
        "status": "active",
        "intent": "order",
        "medicationCodeableConcept": {
          "coding": [
            {
              "system": "http://electronichealth.se/fhir/NamingSystem/nplid",
              "code": "20141125000095"
            },
            {
              "system": "http://electronichealth.se/fhir/NamingSystem/nplpackid",
              "code": "20150225100086"
            }
          ]
        },
        "subject": {
          "reference": "Patient/37c884c9-01ec-46e7-b625-29a18a230f76"
        },
        "authoredOn": "2022-05-31T22:00:00+00:00",
        "requester": {
          "reference": "#1"
        },
        "reasonCode": [
          {
            "coding": [
              {
                "system": "http://electronichealth.se/fhir/CodeSystem/nkoo-sct",
                "code": "128350005"
              }
            ]
          }
        ],
        "dosageInstruction": [
          {
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLAdministeringInstruction",
                "valueString": "vänster öga"
              },
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLSiteQualifier",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "system": "http://snomed.info/sct",
                      "code": "7771000"
                    }
                  ]
                }
              },
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLDosageType",
                "valueCode": "FREKVENSDOSERING"
              }
            ],
            "sequence": 1,
            "additionalInstruction": [
              {
                "text": "Behandla till 2 dagar efter symptomfrihet."
              }
            ],
            "patientInstruction": "1 droppe 6 till 8 gånger dagligen i vänster öga.",
            "timing": {
              "repeat": {
                "frequency": 6,
                "frequencyMax": 8,
                "period": 1,
                "periodUnit": "d"
              }
            },
            "asNeededBoolean": false,
            "site": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "81745001"
                }
              ]
            },
            "doseAndRate": [
              {
                "doseQuantity": {
                  "value": 1,
                  "system": "http://ehalsomyndigheten.se/fhir/CodeSystem/ehm-ucum-annotations",
                  "code": "{drop}"
                }
              }
            ]
          }
        ],
        "dispenseRequest": {
          "extension": [
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfPackagesPrescribed",
              "valuePositiveInt": 1
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfFillsRemaining",
              "valuePositiveInt": 1
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLDosePackaging",
              "valueBoolean": false
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLTotalQuantity",
              "extension": [
                {
                  "url": "prescribed",
                  "valueQuantity": {
                    "value": 10
                  }
                },
                {
                  "url": "remaining",
                  "valueQuantity": {
                    "value": 10
                  }
                }
              ]
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriberCostCenter",
              "valueIdentifier": {
                "system": "http://electronichealth.se/identifier/arbetsplatskod",
                "value": "4000000000000"
              }
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionCommunicableDiseasesAct",
              "valueBoolean": false
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPatientPharmaceuticalBenefitsAct",
              "valueBoolean": true
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfDispensesAllowed",
              "valueUnsignedInt": 1
            }
          ],
          "validityPeriod": {
            "end": "2022-06-15"
          },
          "numberOfRepeatsAllowed": 0,
          "quantity": {
            "value": 10
          }
        }
      },
      "search": {
        "mode": "match"
      }
    }
  ]
}