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

FHIR IG analytics

Packagese.electronichealth.fhir.nll.r4
Resource TypeBundle
Idtransaction-bundle-example-3.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",
  "meta": {
    "profile": [
      "http://electronichealth.se/fhir/StructureDefinition/NLLTransactionBundle"
    ],
    "tag": [
      {
        "display": "Create a prescription and create a data lock in a single transaction"
      },
      {
        "display": "Example of how to create a NLLMedicationRequest and a NLLDataLock for the same patient, in a NLLTransactionBundle"
      },
      {
        "display": "transaction-bundle-example-3"
      }
    ]
  },
  "type": "transaction",
  "entry": [
    {
      "resource": {
        "resourceType": "MedicationRequest",
        "meta": {
          "profile": [
            "http://electronichealth.se/fhir/StructureDefinition/NLLMedicationRequest"
          ]
        },
        "contained": [
          {
            "resourceType": "Practitioner",
            "id": "thePractitioner",
            "meta": {
              "profile": [
                "http://electronichealth.se/fhir/StructureDefinition/NLLPractitioner"
              ]
            },
            "extension": [
              {
                "extension": [
                  {
                    "url": "workplaceName",
                    "valueString": "Min vardcentral"
                  },
                  {
                    "url": "workplaceIdentifier",
                    "valueString": "SE165567766992-101W"
                  },
                  {
                    "url": "workplaceType",
                    "valueCode": "HEALTHCAREUNIT"
                  },
                  {
                    "url": "workplaceIdType",
                    "valueCode": "HSA"
                  }
                ],
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLWorkplaceSummary"
              }
            ],
            "name": [
              {
                "family": "Larsson",
                "given": [
                  "Lars"
                ]
              }
            ],
            "telecom": [
              {
                "extension": [
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLContactPointType",
                    "valueCode": "W"
                  },
                  {
                    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLAvailableToPatient",
                    "valueBoolean": true
                  }
                ],
                "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/NLLPatientTreatmentReason",
            "valueString": "testtext NLLPatientTreatmentReason - Behandlingsändamål"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLRegistrationBasis",
            "valueCode": "ELECTRONIC"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionFormat",
            "valueCode": "ELEKTRONISKT"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionChain",
            "valueUuid": "urn:uuid:d39b39f3-c0ed-4a70-8e17-213cae6e2d41"
          }
        ],
        "intent": "order",
        "medicationCodeableConcept": {
          "coding": [
            {
              "system": "http://electronichealth.se/fhir/NamingSystem/nplid",
              "code": "20141218000032"
            },
            {
              "system": "http://electronichealth.se/fhir/NamingSystem/nplpackid",
              "code": "20150601100594"
            }
          ]
        },
        "subject": {
          "reference": "Patient/a38d200b-b5dd-421f-9832-5a52a0c65fcd"
        },
        "status": "active",
        "requester": {
          "reference": "#thePractitioner"
        },
        "reasonCode": [
          {
            "coding": [
              {
                "code": "204878001"
              }
            ]
          }
        ],
        "dispenseRequest": {
          "extension": [
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriberCostCenter",
              "valueIdentifier": {
                "value": "4000000000000"
              }
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionCommunicableDiseasesAct",
              "valueBoolean": false
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLNumberOfPackagesPrescribed",
              "valuePositiveInt": 3
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPatientPharmaceuticalBenefitsAct",
              "valueBoolean": true
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLConditionsPharmaceuticalBenefitsAct",
              "valueBoolean": false
            },
            {
              "url": "http://electronichealth.se/fhir/StructureDefinition/NLLDosePackaging",
              "valueBoolean": false
            }
          ],
          "numberOfRepeatsAllowed": 1,
          "validityPeriod": {}
        },
        "dosageInstruction": [
          {
            "extension": [
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLObservandumDose",
                "valueBoolean": "true"
              },
              {
                "url": "http://electronichealth.se/fhir/StructureDefinition/NLLAdministeringInstruction",
                "valueString": "Administreringsinstruktion"
              }
            ],
            "sequence": 1,
            "text": "Fritextdoseringstext ta x y varje z",
            "patientInstruction": "Doseringsinstruktion",
            "asNeededBoolean": true,
            "method": {
              "coding": [
                {
                  "code": "764794000"
                }
              ]
            }
          }
        ],
        "authoredOn": "2024-10-29"
      },
      "request": {
        "extension": [
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLProvenanceDetails",
            "extension": [
              {
                "url": "activity",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "code": "REGISTRERA_FORSKRIVNING"
                    }
                  ]
                }
              }
            ]
          }
        ],
        "method": "POST",
        "url": "MedicationRequest"
      }
    },
    {
      "resource": {
        "resourceType": "Basic",
        "meta": {
          "profile": [
            "http://electronichealth.se/fhir/StructureDefinition/NLLDataLock"
          ]
        },
        "code": {
          "coding": [
            {
              "code": "datalock"
            }
          ]
        },
        "extension": [
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLDataLockTarget",
            "valueReference": {
              "reference": "Patient/a38d200b-b5dd-421f-9832-5a52a0c65fcd"
            }
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLDataLockLegalGround",
            "valueCode": "SEKRETESS_VH"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLLockedSubjectType",
            "valueCode": "FORSKRIVNINGSKEDJA"
          },
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLPrescriptionChain",
            "valueUuid": "urn:uuid:d39b39f3-c0ed-4a70-8e17-213cae6e2d41"
          }
        ]
      },
      "request": {
        "extension": [
          {
            "url": "http://electronichealth.se/fhir/StructureDefinition/NLLProvenanceDetails",
            "extension": [
              {
                "url": "activity",
                "valueCodeableConcept": {
                  "coding": [
                    {
                      "code": "REGISTERED"
                    }
                  ]
                }
              }
            ]
          }
        ],
        "method": "POST",
        "url": "Basic"
      }
    }
  ]
}